From 01896c11d2d124fcb485e2d4417e06d5ef54f9fa Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Wed, 1 Jul 2020 17:52:39 +0200 Subject: [PATCH] videoparsers: Fix parsing of ATSC AFD data The test for 0x40 being set is repeated by gst_video_parse_utils_parse_afd, which also extracts the low nibble again, so we must not clear it here. Part-of: --- gst/videoparsers/gstvideoparseutils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/videoparsers/gstvideoparseutils.c b/gst/videoparsers/gstvideoparseutils.c index a61f7c3..5bb7dc3 100644 --- a/gst/videoparsers/gstvideoparseutils.c +++ b/gst/videoparsers/gstvideoparseutils.c @@ -116,7 +116,6 @@ gst_video_parse_user_data (GstElement * elt, GstVideoParseUserData * user_data, "Missing active format description, ignoring"); break; } - temp = temp & 0xF; GST_LOG_OBJECT (elt, "parsed active format description (AFD): %d", temp); -- 2.7.4