mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-27 07:24:51 +00:00
Implement auto mode detection in ajasrc
This also allows switching modes while running.
This commit is contained in:
parent
02519523df
commit
d03f733bba
3 changed files with 696 additions and 647 deletions
|
@ -789,7 +789,7 @@ GType gst_aja_sdi_mode_get_type(void) {
|
|||
GType gst_aja_video_format_get_type(void) {
|
||||
static gsize id = 0;
|
||||
static const GEnumValue modes[] = {
|
||||
// TODO: Implement: {GST_AJA_VIDEO_FORMAT_AUTO, "auto", "Autodetect"},
|
||||
{GST_AJA_VIDEO_FORMAT_AUTO, "auto", "Auto detect format"},
|
||||
{GST_AJA_VIDEO_FORMAT_1080i_5000, "1080i-5000", "1080i 5000"},
|
||||
{GST_AJA_VIDEO_FORMAT_1080i_5994, "1080i-5994", "1080i 5994"},
|
||||
{GST_AJA_VIDEO_FORMAT_1080i_6000, "1080i-6000", "1080i 6000"},
|
||||
|
|
|
@ -182,7 +182,7 @@ GType gst_aja_sdi_mode_get_type(void);
|
|||
|
||||
typedef enum {
|
||||
GST_AJA_VIDEO_FORMAT_INVALID = -1,
|
||||
// TODO: Implement: GST_AJA_VIDEO_FORMAT_AUTO,
|
||||
GST_AJA_VIDEO_FORMAT_AUTO,
|
||||
GST_AJA_VIDEO_FORMAT_1080i_5000,
|
||||
GST_AJA_VIDEO_FORMAT_1080i_5994,
|
||||
GST_AJA_VIDEO_FORMAT_1080i_6000,
|
||||
|
|
1339
gstajasrc.cpp
1339
gstajasrc.cpp
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue