diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-25 12:36:06 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-25 12:36:06 +0200 |
commit | 54273a5771c37c8b3db499479a9640ca36239f38 (patch) | |
tree | 8c9cc019c6c3aca49226b95365ed7f90c1bcaf04 | |
parent | 2dbdbafb8882b0d06cef9b02a822408d38869cbc (diff) |
enc: use standard multipass-cache-file
Deprecate the old statsfile property and add a the new standard
mulitpass-cache-file property to match other encoders.
Fixes #583627
-rw-r--r-- | ext/ffmpeg/gstffmpegcfg.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcfg.c b/ext/ffmpeg/gstffmpegcfg.c index 45fb225..c868385 100644 --- a/ext/ffmpeg/gstffmpegcfg.c +++ b/ext/ffmpeg/gstffmpegcfg.c @@ -401,7 +401,12 @@ gst_ffmpeg_cfg_init () gst_ffmpeg_add_pspec (pspec, quantizer, FALSE, mpeg, NULL); pspec = g_param_spec_string ("statsfile", "Statistics Filename", - "Filename to store data for 2-pass encoding", "stats.log", + "Filename to store data for 2-pass encoding (deprecated, use multipass-cache-file)", + "stats.log", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + gst_ffmpeg_add_pspec (pspec, filename, FALSE, mpeg, NULL); + + pspec = g_param_spec_string ("multipass-cache-file", "Multipass Cache File", + "Filename for multipass cache file", "stats.log", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); gst_ffmpeg_add_pspec (pspec, filename, FALSE, mpeg, NULL); |