Commit 1f4b5609 authored by Benjamin Pracht's avatar Benjamin Pracht

frequency is nom frequency in MHz * 16, as for the v4l input.

Breaks compatibility with previous syntax...
parent e9ecd3b9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pvr.c * pvr.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: pvr.c,v 1.4 2003/07/22 13:58:23 bigben Exp $ * $Id: pvr.c,v 1.5 2003/07/22 20:25:07 bigben Exp $
* *
* Authors: Eric Petit <titer@videolan.org> * Authors: Eric Petit <titer@videolan.org>
* *
...@@ -180,8 +180,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -180,8 +180,8 @@ static int Open( vlc_object_t * p_this )
strlen( "frequency=" ) ) ) strlen( "frequency=" ) ) )
{ {
p_sys->i_frequency = p_sys->i_frequency =
strtol( psz_parser + strlen( "frequency=" ), 1000 * strtol( psz_parser + strlen( "frequency=" ),
&psz_parser, 0 ); &psz_parser, 0 ) / 16;
} }
else if( !strncmp( psz_parser, "framerate=", else if( !strncmp( psz_parser, "framerate=",
strlen( "framerate=" ) ) ) strlen( "framerate=" ) ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment