mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
ffdec: Give the (E)AC3/DTS decoders a rank of marginal
Even if they don't downmix to stereo, they're still working correctly. The only advantage of dtsdec/a52dec is that they downmix to stereo (using the special downmixing matrices) if downstream prefers stereo but in every other case they should be equivalent.
This commit is contained in:
parent
a0be7eef02
commit
3d43013d4f
1 changed files with 1 additions and 9 deletions
|
@ -1832,7 +1832,7 @@ gst_ffmpegdec_video_frame (GstFFMpegDec * ffmpegdec,
|
|||
GstStructure *s = gst_caps_get_structure (GST_BUFFER_CAPS (buffer), 0);
|
||||
gboolean interlaced;
|
||||
gboolean found = gst_structure_get_boolean (s, "interlaced", &interlaced);
|
||||
if (!found || (!!interlaced != !!ffmpegdec->format.video.interlaced)) {
|
||||
if (!found || (! !interlaced != ! !ffmpegdec->format.video.interlaced)) {
|
||||
GST_DEBUG_OBJECT (ffmpegdec,
|
||||
"Buffer interlacing does not match pad, updating");
|
||||
buffer = gst_buffer_make_metadata_writable (buffer);
|
||||
|
@ -3056,14 +3056,6 @@ gst_ffmpegdec_register (GstPlugin * plugin)
|
|||
case CODEC_ID_MP3:
|
||||
rank = GST_RANK_NONE;
|
||||
break;
|
||||
/* TEMPORARILY DISABLING AC3/EAC3/DTS for 0.10.12 release
|
||||
* due to downmixing failure.
|
||||
* See Bug #608892 for more details */
|
||||
case CODEC_ID_EAC3:
|
||||
case CODEC_ID_AC3:
|
||||
case CODEC_ID_DTS:
|
||||
rank = GST_RANK_NONE;
|
||||
break;
|
||||
default:
|
||||
rank = GST_RANK_MARGINAL;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue