Merge pull request #13988 from raymanfx:gstreamer

pull/14015/head
Alexander Alekhin 6 years ago
commit d8b58205be
  1. 4
      modules/videoio/src/cap_gstreamer.cpp

@ -1811,6 +1811,10 @@ void handleMessage(GstElement * pipeline)
while(gst_bus_have_pending(bus)) { while(gst_bus_have_pending(bus)) {
msg = gst_bus_pop(bus); msg = gst_bus_pop(bus);
if (!msg || !GST_IS_MESSAGE(msg))
{
continue;
}
//printf("\t\tGot %s message\n", GST_MESSAGE_TYPE_NAME(msg)); //printf("\t\tGot %s message\n", GST_MESSAGE_TYPE_NAME(msg));

Loading…
Cancel
Save