summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-26 11:51:34 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-26 11:51:34 +0000
commitd56fe785be5aff1e7618e67dfb3ea12340270553 (patch)
treeec36c67265a09bddc12cafaa894fc9c945a65bdb /mp_core.h
parent2597f0c3e244ad316ad037c6f6dab585624031b4 (diff)
downloadmpv-d56fe785be5aff1e7618e67dfb3ea12340270553.tar.bz2
mpv-d56fe785be5aff1e7618e67dfb3ea12340270553.tar.xz
Add support for dvdnav still frames playback.
Based on various patches from Otvos Attila and MPlayer'ized by me. N.B. Always use -vc ffmpeg12 with dvdnav:// git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25852 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index f7079aa7a1..c0e8f81bb1 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -102,6 +102,13 @@ typedef struct MPContext {
#endif
int was_paused;
+
+#ifdef USE_DVDNAV
+ mp_image_t *nav_smpi; ///< last decoded dvdnav video image
+ unsigned char *nav_buffer; ///< last read dvdnav video frame
+ unsigned char *nav_start; ///< pointer to last read video buffer
+ int nav_in_size; ///< last read size
+#endif
} MPContext;