From: Nicolas Dufresne Date: Fri, 4 Nov 2022 18:15:34 +0000 (-0400) Subject: avviddec: Initialize std_compliance to default X-Git-Tag: 1.22.0~565 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b70de580ce877a861e081b3d2bec5f9f16006e0;p=platform%2Fupstream%2Fgstreamer.git avviddec: Initialize std_compliance to default This was missed in the initial patch. Part-of: --- diff --git a/subprojects/gst-libav/docs/gst_plugins_cache.json b/subprojects/gst-libav/docs/gst_plugins_cache.json index c1b18f2..5ff2fa1 100644 --- a/subprojects/gst-libav/docs/gst_plugins_cache.json +++ b/subprojects/gst-libav/docs/gst_plugins_cache.json @@ -140852,7 +140852,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "normal (0)", + "default": "auto (2147483647)", "mutable": "null", "readable": true, "type": "GstAvCodecCompliance", diff --git a/subprojects/gst-libav/ext/libav/gstavviddec.c b/subprojects/gst-libav/ext/libav/gstavviddec.c index b15f2ae..b00a20c 100644 --- a/subprojects/gst-libav/ext/libav/gstavviddec.c +++ b/subprojects/gst-libav/ext/libav/gstavviddec.c @@ -346,6 +346,7 @@ gst_ffmpegviddec_subinit (GstFFMpegVidDec * ffmpegdec) ffmpegdec->max_threads = DEFAULT_MAX_THREADS; ffmpegdec->output_corrupt = DEFAULT_OUTPUT_CORRUPT; ffmpegdec->thread_type = DEFAULT_THREAD_TYPE; + ffmpegdec->std_compliance = DEFAULT_STD_COMPLIANCE; GST_PAD_SET_ACCEPT_TEMPLATE (GST_VIDEO_DECODER_SINK_PAD (ffmpegdec)); gst_video_decoder_set_use_default_pad_acceptcaps (GST_VIDEO_DECODER_CAST