encodebin: Add a way to disable caps renegotiation for output stream format
authorThibault Saunier <tsaunier@gnome.org>
Sun, 16 Nov 2014 14:54:56 +0000 (15:54 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 28 Nov 2014 15:56:32 +0000 (16:56 +0100)
commit72c05d1cbb94f06e0340cf5578d6582322344f77
treece74690972553668cd3c50b93ddebc84d355b714
parentb03cfdffb188b2a0e6b3aad50b52ae6e5cb5d65c
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
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/pbutils/encoding-profile.c
gst-libs/gst/pbutils/encoding-profile.h
gst/encoding/gstencodebin.c
win32/common/libgstpbutils.def