From 7ea4a66b9fb943aaed27d7174cd58270211dbba3 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sun, 16 Aug 2015 12:55:57 +0200 Subject: mpegtsdemux: Fix illogical comparision A variable can't be two values at once. We want to stop if it's not the actual ts *AND* not the other ts CID #1316475 --- gst/mpegtsdemux/mpegtsbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index b431f6e04..d46a47e94 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -959,7 +959,7 @@ mpegts_base_get_tags_from_eit (MpegTSBase * base, GstMpegtsSection * section) /* Early exit if it's not from the present/following table_id */ if (section->table_id != GST_MTS_TABLE_ID_EVENT_INFORMATION_ACTUAL_TS_PRESENT - || section->table_id != + && section->table_id != GST_MTS_TABLE_ID_EVENT_INFORMATION_OTHER_TS_PRESENT) return TRUE; -- cgit v1.2.1