decklinkvideosrc: add missing break in set_property-code

This commit is contained in:
Peter Körner 2019-04-09 11:06:41 +02:00 committed by Peter Körner
parent c41617b9a2
commit 58b5d5e10d
2 changed files with 4 additions and 1 deletions

View file

@ -1570,8 +1570,10 @@ gst_decklink_configure_duplex_mode (Device * device, BMDDuplexMode duplex_mode)
GST_DEBUG ("Device does not support Half-Duplex-Mode"); GST_DEBUG ("Device does not support Half-Duplex-Mode");
return DUPLEX_MODE_SET_SUCCESS; return DUPLEX_MODE_SET_SUCCESS;
} }
} else } else {
GST_ERROR ("duplex_mode=%d", duplex_mode);
g_assert_not_reached (); g_assert_not_reached ();
}
} else { } else {
GST_DEBUG ("Setting duplex-mode of Device"); GST_DEBUG ("Setting duplex-mode of Device");
result = input->config->SetInt (bmdDeckLinkConfigDuplexMode, duplex_mode); result = input->config->SetInt (bmdDeckLinkConfigDuplexMode, duplex_mode);

View file

@ -447,6 +447,7 @@ gst_decklink_video_src_set_property (GObject * object, guint property_id,
("Format %d not supported", self->video_format), (NULL)); ("Format %d not supported", self->video_format), (NULL));
break; break;
} }
break;
case PROP_DUPLEX_MODE: case PROP_DUPLEX_MODE:
self->duplex_mode = self->duplex_mode =
gst_decklink_duplex_mode_from_enum ((GstDecklinkDuplexMode) gst_decklink_duplex_mode_from_enum ((GstDecklinkDuplexMode)