diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-27 11:13:21 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-27 11:13:21 +0000 |
commit | c843190441166632e43f75669e8c2e6e934b9ba2 (patch) | |
tree | e92cca6ec65c43051e6812be6f092f3b5fb5c5ac /libmpdemux/stheader.h | |
parent | 4926e5f698385c233e475b006ff63222da8ec250 (diff) | |
download | mpv-c843190441166632e43f75669e8c2e6e934b9ba2.tar.bz2 mpv-c843190441166632e43f75669e8c2e6e934b9ba2.tar.xz |
Change common pts variables from floats to doubles. Individual demuxers
should be changed later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18310 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r-- | libmpdemux/stheader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h index bc6a63cd45..145f288d3d 100644 --- a/libmpdemux/stheader.h +++ b/libmpdemux/stheader.h @@ -11,7 +11,7 @@ typedef struct { struct codecs_st *codec; unsigned int format; int inited; - float delay; // relative (to sh_video->timer) time in audio stream + double delay; // relative (to sh_video->timer) time in audio stream float stream_delay; // number of seconds stream should be delayed (according to dwStart or similar) // output format: int sample_format; @@ -62,8 +62,8 @@ typedef struct { float num_frames; // number of frames played int num_frames_decoded; // number of frames decoded // timing (mostly for mpeg): - float pts; // predicted/interpolated PTS of the current frame - float i_pts; // PTS for the _next_ I/P frame + double pts; // predicted/interpolated PTS of the current frame + double i_pts; // PTS for the _next_ I/P frame // output format: (set by demuxer) float fps; // frames per second (set only if constant fps) float frametime; // 1/fps |