Commit efebda5a authored by Edward Hervey's avatar Edward Hervey Committed by Edward Hervey

dvdemux: Remove un-needed variable check

if pad wasn't present by now everything would have broken before

CID #1409854
parent c0cdfe18
...@@ -354,7 +354,7 @@ gst_dvdemux_add_pad (GstDVDemux * dvdemux, GstStaticPadTemplate * template, ...@@ -354,7 +354,7 @@ gst_dvdemux_add_pad (GstDVDemux * dvdemux, GstStaticPadTemplate * template,
dvdemux->tag_event = gst_dvdemux_create_global_tag_event (dvdemux); dvdemux->tag_event = gst_dvdemux_create_global_tag_event (dvdemux);
} }
if (pad && dvdemux->tag_event) { if (dvdemux->tag_event) {
gst_pad_push_event (pad, gst_event_ref (dvdemux->tag_event)); gst_pad_push_event (pad, gst_event_ref (dvdemux->tag_event));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment