Changeset 6e69de35fc421d71795a785cb1287f9fbdee0fc6

Show
Ignore:
Timestamp:
16/05/05 17:09:58 (4 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1116256198 +0000
git-parent:

[1152f57a1b6a9d5a886edccae0c47032f314773b]

git-author:
Gildas Bazin <gbazin@videolan.org> 1116256198 +0000
Message:

* modules/demux/ogg.c: fill-in frame rate info in es_format_t.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/ogg.c

    r91f2877 r6e69de3  
    871871                                 (char *)&p_stream->fmt.i_codec ); 
    872872 
     873                        p_stream->fmt.video.i_frame_rate = 10000000; 
     874                        p_stream->fmt.video.i_frame_rate_base = 
     875                            GetQWLE((oggpacket.packet+164)); 
    873876                        p_stream->f_rate = 10000000.0 / 
    874877                            GetQWLE((oggpacket.packet+164)); 
     
    970973                                 (char *)&p_stream->fmt.i_codec ); 
    971974 
     975                        p_stream->fmt.video.i_frame_rate = 10000000; 
     976                        p_stream->fmt.video.i_frame_rate_base = 
     977                            GetQWLE(&st->time_unit); 
    972978                        p_stream->f_rate = 10000000.0 / 
    973979                            GetQWLE(&st->time_unit);