Skip to content

Commit

Permalink
packetizer: mpegvideo: set sane rate defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
fcartegnie committed Jul 19, 2017
1 parent ae3788b commit 24907bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/packetizer/mpegvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ static int Open( vlc_object_t *p_this )

p_sys->i_dts =
p_sys->i_pts = VLC_TS_INVALID;
date_Init( &p_sys->dts, 1, 1 );
date_Init( &p_sys->dts, 30000, 1001 );
date_Set( &p_sys->dts, VLC_TS_INVALID );
date_Init( &p_sys->prev_iframe_dts, 1, 1 );
date_Init( &p_sys->prev_iframe_dts, 30000, 1001 );
date_Set( &p_sys->prev_iframe_dts, VLC_TS_INVALID );

p_sys->i_frame_rate = 2 * 30000;
Expand Down

0 comments on commit 24907bc

Please sign in to comment.