mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
10l: correctly use video_stream instead of audio_stream in the video section
( copy&paste error :( ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31131 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8be7c74c64
commit
c58a1d4acb
@ -329,8 +329,8 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) {
|
||||
case CODEC_TYPE_VIDEO:{
|
||||
sh_video_t* sh_video;
|
||||
BITMAPINFOHEADER *bih;
|
||||
sh_video=new_sh_video_vid(demuxer, i, priv->audio_streams);
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "lavf", priv->audio_streams);
|
||||
sh_video=new_sh_video_vid(demuxer, i, priv->video_streams);
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "lavf", priv->video_streams);
|
||||
if(!sh_video) break;
|
||||
priv->vstreams[priv->video_streams] = i;
|
||||
bih=calloc(sizeof(BITMAPINFOHEADER) + codec->extradata_size,1);
|
||||
|
Loading…
Reference in New Issue
Block a user