summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-01 15:54:45 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-01 15:54:45 +0000
commit1dbfe77925d859624a6ada592c80cf5c2e59dee7 (patch)
treeef35eb0d5c15a498f42e3b955828500ab64e1c7c /libmpdemux
parentd20ff3542d773c79bf00007a356816e8bc631465 (diff)
downloadmpv-1dbfe77925d859624a6ada592c80cf5c2e59dee7.tar.bz2
mpv-1dbfe77925d859624a6ada592c80cf5c2e59dee7.tar.xz
added .stream_aspect to st_video_t: if non-zero and if not specified otherwise
by the user the video pipeline will use it as current aspect ratio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24319 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stheader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 3bd3725f1f..b869ba3146 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -73,6 +73,7 @@ typedef struct {
float fps; // frames per second (set only if constant fps)
float frametime; // 1/fps
float aspect; // aspect ratio stored in the file (for prescaling)
+ float stream_aspect; // aspect ratio stored in the media headers (e.g. in DVD IFO files)
int i_bps; // == bitrate (compressed bytes/sec)
int disp_w,disp_h; // display size (filled by fileformat parser)
// output driver/filters: (set by libmpcodecs core)