summaryrefslogtreecommitdiffstats
path: root/ext/raw1394
diff options
context:
space:
mode:
Diffstat (limited to 'ext/raw1394')
-rw-r--r--ext/raw1394/gstdv1394src.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c
index 192ba564..62028e5c 100644
--- a/ext/raw1394/gstdv1394src.c
+++ b/ext/raw1394/gstdv1394src.c
@@ -78,7 +78,8 @@ GST_ELEMENT_DETAILS ("Firewire (1394) DV Source",
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-dv, " "format = (string) { NTSC, PAL }")
+ GST_STATIC_CAPS ("video/x-dv, "
+ "format = (string) { NTSC, PAL }, " "systemstream = (boolean) true")
);
static void gst_dv1394src_base_init (gpointer g_class);
@@ -361,7 +362,8 @@ gst_dv1394src_iso_receive (raw1394handle_t handle, int channel, size_t len,
GST_DEBUG ("PAL data");
if (!gst_pad_set_explicit_caps (dv1394src->srcpad,
gst_caps_new_simple ("video/x-dv",
- "format", G_TYPE_STRING, "PAL", NULL))) {
+ "format", G_TYPE_STRING, "PAL",
+ "systemstream", G_TYPE_BOOLEAN, TRUE, NULL))) {
GST_ELEMENT_ERROR (dv1394src, CORE, NEGOTIATION, (NULL),
("Could not set source caps for PAL"));
return 0;
@@ -374,7 +376,7 @@ gst_dv1394src_iso_receive (raw1394handle_t handle, int channel, size_t len,
("NTSC data [untested] - please report success/failure to <dan@f3c.com>");
if (!gst_pad_set_explicit_caps (dv1394src->srcpad,
gst_caps_new_simple ("video/x-dv", "format", G_TYPE_STRING,
- "NTSC", NULL))) {
+ "NTSC", "systemstream", G_TYPE_BOOLEAN, TRUE, NULL))) {
GST_ELEMENT_ERROR (dv1394src, CORE, NEGOTIATION, (NULL),
("Could not set source caps for NTSC"));
return 0;