diff options
author | wm4 <wm4@nowhere> | 2013-07-08 00:35:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-08 00:35:04 +0200 |
commit | c4f33d784a058325b26ba82f34c43dab0cb19dc8 (patch) | |
tree | f2440ba82efc84193ba7f4599416bea3989c17a1 /stream/tv.c | |
parent | aac5d758c5a60f13162bc2b500618389bfd92602 (diff) | |
download | mpv-c4f33d784a058325b26ba82f34c43dab0cb19dc8.tar.bz2 mpv-c4f33d784a058325b26ba82f34c43dab0cb19dc8.tar.xz |
demux: remove some old stream header functions
Diffstat (limited to 'stream/tv.c')
-rw-r--r-- | stream/tv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stream/tv.c b/stream/tv.c index 1fcb13037d..83a0052563 100644 --- a/stream/tv.c +++ b/stream/tv.c @@ -708,7 +708,8 @@ static demuxer_t* demux_open_tv(demuxer_t *demuxer) funcs = tvh->functions; demuxer->priv=tvh; - sh_video = new_sh_video(demuxer, 0); + struct sh_stream *sh_v = new_sh_stream(demuxer, STREAM_VIDEO); + sh_video = sh_v->video; /* get IMAGE FORMAT */ int fourcc; @@ -786,7 +787,8 @@ static demuxer_t* demux_open_tv(demuxer_t *demuxer) goto no_audio; } - sh_audio = new_sh_audio(demuxer, 0); + struct sh_stream *sh_a = new_sh_stream(demuxer, STREAM_AUDIO); + sh_audio = sh_a->audio; funcs->control(tvh->priv, TVI_CONTROL_AUD_GET_SAMPLERATE, &sh_audio->samplerate); |