gstreamer/gst/videoparsers
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
..
dirac_parse.c videoparsers: chain up to parent event handler 2012-02-15 12:56:55 +01:00
dirac_parse.h videoparsers: Add dirac parser 2011-02-17 14:43:35 -08:00
gstdiracparse.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gstdiracparse.h diracparse: Post VIDEO_CODEC tag 2013-12-16 10:13:56 +01:00
gsth263parse.c bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gsth263parse.h h263parse: Post VIDEO_CODEC tag 2013-12-16 10:16:14 +01:00
gsth264parse.c Revert "h264parse: Include interlace-mode in caps" 2020-06-22 16:08:41 +00:00
gsth264parse.h h264parse: Propagate MARKER flag 2020-04-15 14:10:15 +00:00
gsth265parse.c h264/h265parse: Fix initial skip 2020-05-07 12:08:36 -04:00
gsth265parse.h h265parse: Propagate MARKER flag 2020-04-15 14:10:16 +00:00
gstjpeg2000parse.c jpeg2000parse: fail caps negotiation if caps are NOT fixed 2019-11-05 21:21:51 +00:00
gstjpeg2000parse.h jpeg2000parse: make explicit that codec_format is for src caps 2019-11-05 21:21:51 +00:00
gstmpeg4videoparse.c videoparsers: Disable gst_base_parse_set_infer_ts 2019-11-19 10:23:31 +02:00
gstmpeg4videoparse.h mpeg4videoparse: allow sending config at IDR 2019-07-31 18:03:19 +00:00
gstmpegvideoparse.c videoparsers: Disable gst_base_parse_set_infer_ts 2019-11-19 10:23:31 +02:00
gstmpegvideoparse.h mpegvideoparse: use gstvideoparseutils to handle user data 2019-08-26 18:14:17 -04:00
gstpngparse.c bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstpngparse.h Revert "pngparse: improve parsing of the image" 2015-01-07 16:40:25 +00:00
gstvc1parse.c videoparsers: Disable gst_base_parse_set_infer_ts 2019-11-19 10:23:31 +02:00
gstvc1parse.h vc1parse: implement asf to *-frame-layer stream-format 2014-11-08 19:01:10 +01:00
gstvideoparseutils.c Revert "videoparseutils: support two new EIA 608 closed caption formats" 2019-12-17 16:44:10 -05:00
gstvideoparseutils.h Revert "videoparseutils: support two new EIA 608 closed caption formats" 2019-12-17 16:44:10 -05:00
h263parse.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
h263parse.h h263parse: add pixel-aspect-ratio if upstream doesn't provide one 2013-07-15 23:04:35 +01:00
meson.build videoparseutils: add new parser class 2019-08-26 18:14:17 -04:00
plugin.c jpeg2000parse: Add JPEG2000 parser element 2016-06-07 15:29:41 +03:00