openbsd-ports/x11/mplayer/patches/patch-libmpdemux_tv_c
robert 59001cbfbf update to versio 1.0pre8; include the speex and mpcdec codecs by default;
this version of mplayer now uses gtk2;

ok biorn@ and tested by many
2006-07-19 21:40:47 +00:00

15 lines
629 B
Plaintext

$OpenBSD: patch-libmpdemux_tv_c,v 1.2 2006/07/19 21:40:47 robert Exp $
--- libmpdemux/tv.c.orig Sun Jun 11 20:35:46 2006
+++ libmpdemux/tv.c Thu Jul 6 00:08:12 2006
@@ -307,6 +307,10 @@ static int open_tv(tvi_handle_t *tvh)
mp_msg(MSGT_TV, MSGL_V, "Selected channel list: %s (including %d channels)\n",
chanlists[tvh->chanlist].name, chanlists[tvh->chanlist].count);
+#ifdef HAVE_TV_BSDBT848
+ funcs->control(tvh->priv, TVI_CONTROL_TUN_SET_CHANLIST, &tvh->chanlist);
+#endif
+
if (tv_param_freq && tv_param_channel)
{
mp_msg(MSGT_TV, MSGL_WARN, "You can't set frequency and channel simultaneously!\n");