gstreamer/gst-libs/gst/video
Guillaume Desmottes f5a1164590 videodecoder: remove useless code in negotiate_default_caps()
gst_video_decoder_negotiate_default_caps() is meant to pick a default output
format when we need one earlier because of an incoming GAP.
It tries to use the input caps as a base if available and fallback to a default
format (I420 1280x720@30) for the missing fields.

But the framerate and pixel-aspect were not explicitly passed to
gst_video_decoder_set_output_state() which is solely relying on the input format
as reference to get the framerate anx pixel-aspect-ratio.
So there is no need to manually handling those two fields as
gst_video_decoder_set_output_state() will already use the ones from
upstream if available, and they will be ignored anyway if there are not.

This also prevent confusing debugging output where we claim to use a
specific framerate while actually none was set.
2019-02-04 11:53:03 +01:00
..
.gitignore Update .gitignore 2012-08-08 09:06:30 +01:00
colorbalance.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
colorbalance.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
colorbalancechannel.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
colorbalancechannel.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
convertframe.c video: convertframe: Shut down pipeline asynchronously via the thread pool 2018-11-30 12:40:19 +02:00
gstvideoaffinetransformationmeta.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstvideoaffinetransformationmeta.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideoaggregator.c videoaggregator: remove broken rate adjustment 2019-01-18 11:33:33 +01:00
gstvideoaggregator.h video: build GstVideoAggregator which was moved from -bad 2018-12-28 12:16:12 +01:00
gstvideodecoder.c videodecoder: remove useless code in negotiate_default_caps() 2019-02-04 11:53:03 +01:00
gstvideodecoder.h video: Add gst_video_decoder_set_interlaced_output_state() 2018-08-29 12:14:38 -04:00
gstvideoencoder.c videoencoder: Release STREAM_LOCK during gst_pad_push() 2018-08-31 16:11:04 -04:00
gstvideoencoder.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideofilter.c video-filter: Support allocation pool with pool object 2017-09-06 14:20:46 -04:00
gstvideofilter.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideometa.c videometa: Log map errors with GST_ERROR, not DEBUG 2018-10-15 19:46:48 +05:30
gstvideometa.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideopool.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstvideopool.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideosink.c videosink: Set processing deadline to 15ms 2018-07-07 08:59:30 -04:00
gstvideosink.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
gstvideotimecode.c videotimecode: Set the DROP_FRAME flag when parsing timecodes with a ,/; from a string 2018-12-19 23:11:24 +00:00
gstvideotimecode.h videotimecode: Add API for initializing from a GDateTime with validation 2018-12-19 23:11:24 +00:00
gstvideoutils.c video: Fix/Add section documentation 2018-04-02 16:49:19 +02:00
gstvideoutils.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstvideoutilsprivate.c videoutilsprivate: fill more video fields. 2017-08-14 12:42:57 +02:00
gstvideoutilsprivate.h videoencoder/decoder: Move conversion utility functions to a common header and use consistently in encoder/decoder 2016-07-04 10:47:36 +02:00
Makefile.am video: build GstVideoAggregator which was moved from -bad 2018-12-28 12:16:12 +01:00
meson.build video: build GstVideoAggregator which was moved from -bad 2018-12-28 12:16:12 +01:00
navigation.c navigation: Add some validation while sending key/mouse events 2017-06-06 11:12:18 +05:30
navigation.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
TODO video: Base classes for video decoders and encoders 2012-04-24 17:03:40 +02:00
video-anc.c video-anc: Fix glib version check for G_GNUC_CHECK_VERSION macro 2019-01-29 13:58:43 +02:00
video-anc.h video-anc: Add API for converting GstVideoCaptionType from/to GstCaps 2018-12-15 21:31:14 +00:00
video-blend.c video: Handle errors in gst_video_info_set_format() / gst_video_info_align() 2016-11-24 15:06:39 +02:00
video-blend.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-chroma.c video: Silence "restrict" issues with ORC code 2018-05-05 10:27:12 +02:00
video-chroma.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-color.c video: fix some GIR array annotations 2018-05-21 09:18:35 +02:00
video-color.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-converter.c video-converter: fix number of allocated lines 2019-01-11 11:47:51 -05:00
video-converter.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
video-dither.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-dither.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-event.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-event.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-format.c video: add Y410 pixel format. 2018-12-01 21:05:36 -05:00
video-format.h video-format: minor docs improvement 2019-01-16 00:28:16 +00:00
video-frame.c video: Safe guard info->finfo when mapping a frame 2018-04-21 20:47:31 -03:00
video-frame.h video: Add format for single fields of interlaced video in a buffer 2018-08-29 12:14:38 -04:00
video-info.c video: add Y410 pixel format. 2018-12-01 21:05:36 -05:00
video-info.h video: Add GST_VIDEO_INFO_FIELD_RATE_N() macro 2018-08-29 12:14:38 -04:00
video-multiview.c libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
video-multiview.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-orc-dist.c Update disted orc file 2017-10-31 11:57:23 +01:00
video-orc-dist.h video: update orc generated files 2017-06-01 23:21:48 +01:00
video-orc.orc Fix RGBA and ABGR pack/unpack on big endian cpu 2017-06-01 17:47:22 +02:00
video-overlay-composition.c video-overlay-composition: Optimize premultiplication/unpremultiplication loops 2018-12-07 19:23:49 +02:00
video-overlay-composition.h video-overlay-composition: Correctly mark GstVideoOverlayFormatFlags as flags 2018-10-04 11:36:36 +03:00
video-prelude.h video: Add deprecation macros 2018-12-19 23:11:24 +00:00
video-resampler.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
video-resampler.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-scaler.c libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
video-scaler.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
video-tile.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
video-tile.h video: Set correct value in g-i annotations for tile related mask constants 2018-03-21 10:28:05 +02:00
video.c video: Fix/Add section documentation 2018-04-02 16:49:19 +02:00
video.h video: build GstVideoAggregator which was moved from -bad 2018-12-28 12:16:12 +01:00
videodirection.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
videodirection.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
videoorientation.c video: fix some GIR annotations 2018-04-23 19:33:19 +02:00
videoorientation.h video: GST_EXPORT -> GST_VIDEO_API 2018-03-13 12:16:42 +00:00
videooverlay.c video-overlay: Add helpers for render-rectangle property 2018-01-29 16:26:09 +00:00
videooverlay.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00