Commit ae01af24 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '30d70e79'

* commit '30d70e79':
  dcadec: set AV_FRAME_DATA_MATRIXENCODING side data.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents bc7f7637 30d70e79
...@@ -2560,6 +2560,15 @@ FF_ENABLE_DEPRECATION_WARNINGS ...@@ -2560,6 +2560,15 @@ FF_ENABLE_DEPRECATION_WARNINGS
for (i = 0; i < 2 * s->lfe * 4; i++) for (i = 0; i < 2 * s->lfe * 4; i++)
s->lfe_data[i] = s->lfe_data[i + lfe_samples]; s->lfe_data[i] = s->lfe_data[i + lfe_samples];
/* AVMatrixEncoding
*
* DCA_STEREO_TOTAL (Lt/Rt) is equivalent to Dolby Surround */
ret = ff_side_data_update_matrix_encoding(frame,
(s->output & ~DCA_LFE) == DCA_STEREO_TOTAL ?
AV_MATRIX_ENCODING_DOLBY : AV_MATRIX_ENCODING_NONE);
if (ret < 0)
return ret;
*got_frame_ptr = 1; *got_frame_ptr = 1;
return buf_size; return buf_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment