diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2014-11-16 15:54:56 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-11-28 16:56:32 +0100 |
commit | 72c05d1cbb94f06e0340cf5578d6582322344f77 (patch) | |
tree | ce74690972553668cd3c50b93ddebc84d355b714 /win32/common | |
parent | b03cfdffb188b2a0e6b3aad50b52ae6e5cb5d65c (diff) |
encodebin: Add a way to disable caps renegotiation for output stream format
In some cases, the user might want the stream outputted by encodebin to
be in the exact same format during all the stream. We should let the
user specify when this is the case. This commit add some API in the
GstEncodingProfile to determine whether the format can be renegotiated
after the encoding started or not.
API:
gst_encoding_profile_set_allow_dynamic_output
gst_encoding_profile_get_allow_dynamic_output
https://bugzilla.gnome.org/show_bug.cgi?id=740214
Diffstat (limited to 'win32/common')
-rw-r--r-- | win32/common/libgstpbutils.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/common/libgstpbutils.def b/win32/common/libgstpbutils.def index d7f365e1e..81504cc7e 100644 --- a/win32/common/libgstpbutils.def +++ b/win32/common/libgstpbutils.def @@ -84,6 +84,7 @@ EXPORTS gst_encoding_list_available_categories gst_encoding_profile_find gst_encoding_profile_from_discoverer + gst_encoding_profile_get_allow_dynamic_output gst_encoding_profile_get_description gst_encoding_profile_get_file_extension gst_encoding_profile_get_format @@ -96,6 +97,7 @@ EXPORTS gst_encoding_profile_get_type gst_encoding_profile_get_type_nick gst_encoding_profile_is_equal + gst_encoding_profile_set_allow_dynamic_output gst_encoding_profile_set_description gst_encoding_profile_set_format gst_encoding_profile_set_name |