diff options
author | Edward Hervey <edward@centricular.com> | 2017-05-26 17:48:01 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-05-26 17:48:01 +0200 |
commit | efebda5a34de5c24c91fb77ca71903c24ee83c97 (patch) | |
tree | 8e752d695366e18aadaf5f5dbe7b6bb4070376fe /ext | |
parent | c0cdfe189837ac8886bd6d6e065c977badc4f340 (diff) |
dvdemux: Remove un-needed variable check
if pad wasn't present by now everything would have broken before
CID #1409854
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dv/gstdvdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c index e6cbf7cd7..b76d7daa9 100644 --- a/ext/dv/gstdvdemux.c +++ b/ext/dv/gstdvdemux.c @@ -354,7 +354,7 @@ gst_dvdemux_add_pad (GstDVDemux * dvdemux, GstStaticPadTemplate * template, 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)); } |