gstreamer/gst
Vivia Nikolaidou 652773de36 Revert "h264parse: Include interlace-mode in caps"
This reverts commit b75a61342f.

The parser would only set the mode to progressive or mixed, missing the
cases where it should have been interleaved. Interleaved is more
difficult to detect because in h264 it happens per frame. On the other
hand, h264 decoders detect the interlacing information per-frame and set
the caps correctly. By giving potentially incorrect interlacing
information in the parser already, it's being enforced downstream even
after decoding, breaking some use cases (e.g. an encoder can't properly
mark the stream as TFF or BFF). On the other hand, there's no valid use
case for having interlacing information on the caps at the parsing
stage, so after a lot of discussion, it was decided to revert this.

Initial commit message:
=========================
Those are the rules:

In the SPS:
  * if frame_mbs_only_flag=1 => all frame progressive
  * if frame_mbs_only_flag=0 => field_pic_flag defines if each frame is
    progressive or interlaced, thus the mode is 'mixed' in GStreamer
    terms.

https://bugzilla.gnome.org/show_bug.cgi?id=779309
=========================

Fixes #1313

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1335>
2020-06-22 16:08:41 +00:00
..
accurip remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
adpcmdec Remove autotools build system 2019-10-14 13:54:27 +01:00
adpcmenc plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
aiff Remove autotools build system 2019-10-14 13:54:27 +01:00
asfmux asfmux: consistent sscanf args usage 2020-05-21 20:37:49 +00:00
audiobuffersplit audiobuffersplit: Unset DISCONT flag if not discontinuous 2020-05-25 12:41:32 +00:00
audiofxbad Remove autotools build system 2019-10-14 13:54:27 +01:00
audiolatency Remove autotools build system 2019-10-14 13:54:27 +01:00
audiomixmatrix plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
audiovisualizers plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
autoconvert autoconvert: fix compiler warnings with g_atomic on recent GLib versions 2020-05-01 14:50:58 +01:00
bayer documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
camerabin2 plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
coloreffects plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
debugutils Revert "errorignore: Added convert-error signal" 2020-06-20 19:11:57 +01:00
dvbsubenc dvbsubenc: Add DVB Subtitle encoder 2020-06-17 12:50:13 +10:00
dvbsuboverlay documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
dvdspu documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
faceoverlay Remove autotools build system 2019-10-14 13:54:27 +01:00
festival documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
fieldanalysis plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
freeverb Remove autotools build system 2019-10-14 13:54:27 +01:00
frei0r documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gaudieffects documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gdp Remove autotools build system 2019-10-14 13:54:27 +01:00
geometrictransform plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
id3tag documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
inter Remove autotools build system 2019-10-14 13:54:27 +01:00
interlace interlace: Fix crash with empty caps in setcaps 2020-06-11 12:06:17 +00:00
ivfparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
ivtc Remove autotools build system 2019-10-14 13:54:27 +01:00
jp2kdecimator Remove autotools build system 2019-10-14 13:54:27 +01:00
jpegformat documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
librfb bad: use of g_value_dup_string 2019-12-30 14:13:03 +00:00
midi Remove autotools build system 2019-10-14 13:54:27 +01:00
mpegdemux mpegdemux: Add ignore-scr property to ignore broken SCR 2020-03-11 21:06:20 +09:00
mpegpsmux documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
mpegtsdemux mpegtsdemux: Deliver all packets to tsparse 2020-05-28 16:41:30 +00:00
mpegtsmux plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
mxf plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
netsim plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
onvif onviftimestamp: Add missing break in set_property() 2020-05-10 11:17:19 +03:00
pcapparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
pnm documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
proxy Remove autotools build system 2019-10-14 13:54:27 +01:00
rawparse plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
removesilence documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
rist plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
rtmp2 plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
rtp rtpmanagerbad: fix two minor memory leaks 2020-02-21 12:16:28 +01:00
sdp sdpdemux: fix klocwork issues 2020-05-21 15:14:32 +00:00
segmentclip Remove autotools build system 2019-10-14 13:54:27 +01:00
siren Remove autotools build system 2019-10-14 13:54:27 +01:00
smooth Remove autotools build system 2019-10-14 13:54:27 +01:00
speed Remove autotools build system 2019-10-14 13:54:27 +01:00
subenc Remove autotools build system 2019-10-14 13:54:27 +01:00
switchbin switchbin: Free path objects on finalize 2019-11-13 10:15:32 +00:00
timecode plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
transcode transcodebin: fix caps NULL unref 2020-04-16 16:17:56 +00:00
videofilters Remove autotools build system 2019-10-14 13:54:27 +01:00
videoframe_audiolevel Remove autotools build system 2019-10-14 13:54:27 +01:00
videoparsers Revert "h264parse: Include interlace-mode in caps" 2020-06-22 16:08:41 +00:00
videosignal Remove autotools build system 2019-10-14 13:54:27 +01:00
vmnc remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
y4m Remove autotools build system 2019-10-14 13:54:27 +01:00
meson.build dvbsubenc: Add DVB Subtitle encoder 2020-06-17 12:50:13 +10:00