summaryrefslogtreecommitdiff
path: root/gst/pnm
diff options
context:
space:
mode:
Diffstat (limited to 'gst/pnm')
-rw-r--r--gst/pnm/gstpnmdec.c2
-rw-r--r--gst/pnm/gstpnmenc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/pnm/gstpnmdec.c b/gst/pnm/gstpnmdec.c
index b235113e5..d88f2955b 100644
--- a/gst/pnm/gstpnmdec.c
+++ b/gst/pnm/gstpnmdec.c
@@ -52,7 +52,7 @@ static GstStaticPadTemplate gst_pnmdec_src_pad_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; "
"video/x-raw-gray, width =" GST_VIDEO_SIZE_RANGE ", "
"height =" GST_VIDEO_SIZE_RANGE ", framerate =" GST_VIDEO_FPS_RANGE ", "
- "bpp= (int) 8, depth= (int) 8, endianness = (int) BIG_ENDIAN"));
+ "bpp= (int) 8, depth= (int) 8"));
static GstStaticPadTemplate gst_pnmdec_sink_pad_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
diff --git a/gst/pnm/gstpnmenc.c b/gst/pnm/gstpnmenc.c
index e15c70d6c..7c4537a30 100644
--- a/gst/pnm/gstpnmenc.c
+++ b/gst/pnm/gstpnmenc.c
@@ -51,7 +51,7 @@ static GstStaticPadTemplate sink_pad_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; "
"video/x-raw-gray, width =" GST_VIDEO_SIZE_RANGE ", "
"height =" GST_VIDEO_SIZE_RANGE ", framerate =" GST_VIDEO_FPS_RANGE ", "
- "bpp= (int) 8, depth= (int) 8, endianness = (int) BIG_ENDIAN"));
+ "bpp= (int) 8, depth= (int) 8"));
static GstStaticPadTemplate src_pad_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
@@ -103,7 +103,7 @@ gst_pnmenc_setcaps_func_sink (GstPad * pad, GstCaps * caps)
s->info.fields = GST_PNM_INFO_FIELDS_MAX;
/* Set caps on the source. */
- if (!strcmp (mime, GST_VIDEO_CAPS_RGB)) {
+ if (!strcmp (mime, "video/x-raw-rgb")) {
s->info.type = GST_PNM_TYPE_PIXMAP_RAW;
srccaps = gst_caps_from_string (MIME_PM);
} else if (!strcmp (mime, "video/x-raw-gray")) {