summaryrefslogtreecommitdiffstats
path: root/encode_lavc.h
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-09-29 15:04:40 +0200
committerRudolf Polzer <divverent@xonotic.org>2012-09-29 15:04:40 +0200
commit327a5d0ecf33dd44e5542f9128a26d7659864a79 (patch)
treeb17ad3c9b866863fb6aec11c84ef36762b67944f /encode_lavc.h
parent53c6a7480fae355562f24e207907bb985c685310 (diff)
downloadmpv-327a5d0ecf33dd44e5542f9128a26d7659864a79.tar.bz2
mpv-327a5d0ecf33dd44e5542f9128a26d7659864a79.tar.xz
encode: add options --ovfirst and --oafirst
This allows to define which stream is to be used as first output stream. This is useful because dvdauthor refuses VOB files where the audio stream is the first stream.
Diffstat (limited to 'encode_lavc.h')
-rw-r--r--encode_lavc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/encode_lavc.h b/encode_lavc.h
index 7c1ca07545..29b35c6335 100644
--- a/encode_lavc.h
+++ b/encode_lavc.h
@@ -59,8 +59,11 @@ struct encode_lavc_context {
struct stream *twopass_bytebuffer_v;
unsigned int t0;
unsigned int frames;
+
bool expect_video;
bool expect_audio;
+ bool video_first;
+ bool audio_first;
// has encoding failed?
bool failed;