mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
dvdemux: Remove un-needed variable check
if pad wasn't present by now everything would have broken before CID #1409854
This commit is contained in:
parent
c0cdfe1898
commit
efebda5a34
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue