summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <m.hirschberg@activevideo.com>2014-05-27 00:15:41 +0200
committerwm4 <wm4@nowhere>2014-05-28 21:37:50 +0200
commit434242adb5dc045faf16f8bb19aa740732cc3345 (patch)
treeaf5d64f31973a33b70ba23e17cd8e59ee9134702 /stream/tv.c
parent6e58b20cced05c303f1b35d5baa5f79b8ad612f5 (diff)
downloadmpv-434242adb5dc045faf16f8bb19aa740732cc3345.tar.bz2
mpv-434242adb5dc045faf16f8bb19aa740732cc3345.tar.xz
audio: rename i_bps to 'bitrate' to avoid confusion
Since i_bps now contains bits/sec, rename it to reflect this change.
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);