mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
omxaudiodec: Get PCM parameters from the out port, not the in port
This commit is contained in:
parent
c27053c94e
commit
f4961d0a72
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ gst_omx_audio_dec_loop (GstOMXAudioDec * self)
|
||||||
g_assert (port_def.format.audio.eEncoding == OMX_AUDIO_CodingPCM);
|
g_assert (port_def.format.audio.eEncoding == OMX_AUDIO_CodingPCM);
|
||||||
|
|
||||||
GST_OMX_INIT_STRUCT (&pcm_param);
|
GST_OMX_INIT_STRUCT (&pcm_param);
|
||||||
pcm_param.nPortIndex = self->dec_in_port->index;
|
pcm_param.nPortIndex = self->dec_out_port->index;
|
||||||
err =
|
err =
|
||||||
gst_omx_component_get_parameter (self->dec, OMX_IndexParamAudioPcm,
|
gst_omx_component_get_parameter (self->dec, OMX_IndexParamAudioPcm,
|
||||||
&pcm_param);
|
&pcm_param);
|
||||||
|
|
Loading…
Reference in a new issue