mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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
This commit is contained in:
parent
2dbdbafb88
commit
54273a5771
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue