mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
playback: add GST_PLAY_FLAG_FORCE_SW_DECODERS enum
This flag would be common either for playbin2 and playbin3.
This commit is contained in:
parent
cd4e64f885
commit
d50c71708a
2 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,8 @@ gst_play_flags_get_type (void)
|
|||
"soft-colorbalance"},
|
||||
{C_FLAGS (GST_PLAY_FLAG_FORCE_FILTERS),
|
||||
"Force audio/video filter(s) to be applied", "force-filters"},
|
||||
{C_FLAGS (GST_PLAY_FLAG_FORCE_SW_DECODERS),
|
||||
"Force only software-based decoders", "force-sw-decoders"},
|
||||
{0, NULL, NULL}
|
||||
};
|
||||
static volatile GType id = 0;
|
||||
|
|
|
@ -60,6 +60,8 @@ GType gst_autoplug_select_result_get_type (void);
|
|||
* @GST_PLAY_FLAG_SOFT_COLORBALANCE: Use a software filter for colour balance
|
||||
* @GST_PLAY_FLAG_FORCE_FILTERS: force audio/video filters to be applied if
|
||||
* set.
|
||||
* @GST_PLAY_FLAG_FORCE_SW_DECODERS: force to use only software-based
|
||||
* decoders ignoring those with hardware class.
|
||||
*
|
||||
* Extra flags to configure the behaviour of the sinks.
|
||||
*/
|
||||
|
@ -76,6 +78,7 @@ typedef enum {
|
|||
GST_PLAY_FLAG_DEINTERLACE = (1 << 9),
|
||||
GST_PLAY_FLAG_SOFT_COLORBALANCE = (1 << 10),
|
||||
GST_PLAY_FLAG_FORCE_FILTERS = (1 << 11),
|
||||
GST_PLAY_FLAG_FORCE_SW_DECODERS = (1 << 12),
|
||||
} GstPlayFlags;
|
||||
|
||||
#define GST_TYPE_PLAY_FLAGS (gst_play_flags_get_type())
|
||||
|
|
Loading…
Reference in a new issue