mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
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.
This commit is contained in:
parent
519dea0028
commit
3e60f58e6e
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
|
||||
Set caps to systemstream=TRUE.
|
||||
|
||||
2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* testsuite/Makefile.am:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue