Don't suppress gstreamer tags
This commit is contained in:
parent
1db458fecb
commit
b1720398ff
|
@ -313,12 +313,16 @@ public:
|
|||
std::cout << "srcpad_probecallback_event called on"
|
||||
<< std::quoted(GST_PAD_NAME(pad)) << " with an event type "
|
||||
<< std::quoted(evtype) << std::endl;
|
||||
if (look_for_tag_event(pad, event, user_data)) {
|
||||
// std::cout << "dropping tag event" << std::endl;
|
||||
// Drop all tag events (mark them as handled and unref as per doc)
|
||||
gst_event_unref(event);
|
||||
return GST_PAD_PROBE_HANDLED;
|
||||
}
|
||||
/*
|
||||
* Don't suppress tag events anymore, gstreamer needs them
|
||||
*/
|
||||
look_for_tag_event(pad, event, user_data);
|
||||
// if (look_for_tag_event(pad, event, user_data)) {
|
||||
// // std::cout << "dropping tag event" << std::endl;
|
||||
// // Drop all tag events (mark them as handled and unref as per doc)
|
||||
// gst_event_unref(event);
|
||||
// return GST_PAD_PROBE_HANDLED;
|
||||
// }
|
||||
return GST_PAD_PROBE_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue