diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-02-01 22:06:17 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-02-01 22:06:17 +0000 |
commit | 3e60f58e6ef6b323d988a18ab64feebb25e29e52 (patch) | |
tree | 4d31bd67d2534b364de12d929bc3bae0cb9756cf /ext | |
parent | 519dea00280ea67aa17d2152ae0bed27e18bfff9 (diff) |
ext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
Set caps to systemstream=TRUE.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/raw1394/gstdv1394src.c | 8 |
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; |