playbin2: Add flag for enabling/disabling automatic deinterlacing

This commit is contained in:
Sebastian Dröge 2010-04-26 11:12:43 +02:00
parent 1a9c07e5ba
commit a6be04a73a
2 changed files with 4 additions and 1 deletions

View file

@ -63,6 +63,8 @@ gst_play_flags_get_type (void)
"download"},
{C_FLAGS (GST_PLAY_FLAG_BUFFERING), "Buffer demuxed/parsed data",
"buffering"},
{C_FLAGS (GST_PLAY_FLAG_DEINTERLACE), "Deinterlace video if necessary",
"deinterlace"},
{0, NULL, NULL}
};
static volatile GType id = 0;

View file

@ -68,7 +68,8 @@ typedef enum {
GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5),
GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6),
GST_PLAY_FLAG_DOWNLOAD = (1 << 7),
GST_PLAY_FLAG_BUFFERING = (1 << 8)
GST_PLAY_FLAG_BUFFERING = (1 << 8),
GST_PLAY_FLAG_DEINTERLACE = (1 << 9)
} GstPlayFlags;
#define GST_TYPE_PLAY_FLAGS (gst_play_flags_get_type())