summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tv.c b/stream/tv.c
index 9d7e17a871..77279e4bcd 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -806,7 +806,7 @@ static int demux_open_tv(demuxer_t *demuxer, enum demux_check check)
int block_align = samplesize * sh_audio->channels.num;
int bytes_per_second = sh_audio->samplerate * block_align;
- sh_audio->i_bps = bytes_per_second * 8;
+ sh_audio->bitrate = bytes_per_second * 8;
// emulate WF for win32 codecs:
sh_audio->wf = talloc_zero(sh_audio, MP_WAVEFORMATEX);