mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 03:51:48 +00:00
fix audio in some rtsp streams, ok'd by lu_zero
patch by Changjin Liu - !lcj.liu!at!gmail!com! http://thread.gmane.org/gmane.comp.video.mplayer.user/56893/focus=56894 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27449 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f2b329942c
commit
d4bf4c946c
@ -198,6 +198,7 @@ void rtpCodecInitialize_audio(demuxer_t* demuxer,
|
|||||||
sh_audio->wf = wf;
|
sh_audio->wf = wf;
|
||||||
demux_stream_t* d_audio = demuxer->audio;
|
demux_stream_t* d_audio = demuxer->audio;
|
||||||
d_audio->sh = sh_audio; sh_audio->ds = d_audio;
|
d_audio->sh = sh_audio; sh_audio->ds = d_audio;
|
||||||
|
d_audio->id = sh_audio->aid;
|
||||||
|
|
||||||
wf->nChannels = subsession->numChannels();
|
wf->nChannels = subsession->numChannels();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user