Commit 4fbbd7cd authored by Laurent Aimar's avatar Laurent Aimar

Fixed the value of DV_NTSC_FRAME_SIZE.

parent c3f877ed
...@@ -74,8 +74,8 @@ vlc_module_end () ...@@ -74,8 +74,8 @@ vlc_module_end ()
/***************************************************************************** /*****************************************************************************
* Constants * Constants
*****************************************************************************/ *****************************************************************************/
#define DV_PAL_FRAME_SIZE 144000 #define DV_PAL_FRAME_SIZE (12 * 150 * 80)
#define DV_NTSC_FRAME_SIZE 122000 #define DV_NTSC_FRAME_SIZE (10 * 150 * 80)
/***************************************************************************** /*****************************************************************************
* Definitions of structures used by this plugin * Definitions of structures used by this plugin
...@@ -213,7 +213,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -213,7 +213,8 @@ static int Open( vlc_object_t * p_this )
msg_Dbg( p_demux, "Realtime DV Source: %s", (p_sys->b_hurry_up)?"Yes":"No" ); msg_Dbg( p_demux, "Realtime DV Source: %s", (p_sys->b_hurry_up)?"Yes":"No" );
p_sys->i_dsf = dv_header.dsf; p_sys->i_dsf = dv_header.dsf;
p_sys->frame_size = dv_header.dsf ? 12 * 150 * 80 : 10 * 150 * 80; p_sys->frame_size = dv_header.dsf ? DV_PAL_FRAME_SIZE
: DV_NTSC_FRAME_SIZE;
p_sys->f_rate = dv_header.dsf ? 25 : 29.97; p_sys->f_rate = dv_header.dsf ? 25 : 29.97;
p_sys->i_pcr = 0; p_sys->i_pcr = 0;
......
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