GNOME Bugzilla – Bug 784552
dvdlpcmdec: Added support for Blu-Ray audio
Last modified: 2017-07-05 16:18:41 UTC
See commit message
Created attachment 354935 [details] [review] dvdlpcmdec: Added support for Blu-Ray audio
Review of attachment 354935 [details] [review]: ::: gst/dvdlpcmdec/gstdvdlpcmdec.c @@ +348,3 @@ + gst_dvdlpcmdec_update_audio_formats (dvdlpcmdec, channels, rate, format, + channels, channel_positions); channels-1 @@ +420,3 @@ channels = ((header >> 8) & 0x7) + 1; + gst_dvdlpcmdec_update_audio_formats (dec, channels, rate, format, channels, channels-1 @@ +610,3 @@ + case 0x2: + format = GST_AUDIO_FORMAT_S32BE; + dvdlpcmdec->width = 20; This is either also GST_AUDIO_FORMAT_S24BE or GST_AUDIO_FORMAT_S20BE. The code in ffmpeg suggests it's the former though @@ +614,3 @@ + case 0x3: + format = GST_AUDIO_FORMAT_S32BE; + dvdlpcmdec->width = 24; GST_AUDIO_FORMAT_S24BE AFAIU? @@ +671,3 @@ + break; + } + GST_DEBUG_OBJECT (dvdlpcmdec, "got channels %i rate %i format %s\n", Usually we use %d for integers (decimal, vs %x for hexadecimal). And the \n should go away
Created attachment 354939 [details] [review] dvdlpcmdec: Added support for Blu-Ray audio
Attachment 354939 [details] pushed as cd59f39 - dvdlpcmdec: Added support for Blu-Ray audio