From 9ae921f8889c662ddc95f8daba9a36a4801ebf66 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 30 Aug 2010 21:22:14 -0300 Subject: [PATCH] camerabin: Use jifmux instead of metadatamux Use jifmux element to write exif/xmp tags instead of metadatamux --- gst/camerabin/camerabinimage.c | 2 +- gst/camerabin/gstcamerabin.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gst/camerabin/camerabinimage.c b/gst/camerabin/camerabinimage.c index 25ca8f8..946594f 100644 --- a/gst/camerabin/camerabinimage.c +++ b/gst/camerabin/camerabinimage.c @@ -61,7 +61,7 @@ #define DEFAULT_SINK "filesink" #define DEFAULT_ENC "jpegenc" -#define DEFAULT_META_MUX "metadatamux" +#define DEFAULT_META_MUX "jifmux" #define DEFAULT_FLAGS GST_CAMERABIN_FLAG_IMAGE_COLOR_CONVERSION enum diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index 1708956..545b3c4 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -1336,9 +1336,6 @@ gst_camerabin_get_internal_tags (GstCameraBin * camera) } gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, - "image-width", camera->width, "image-height", camera->height, NULL); - - gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO, camera->zoom / 100.0, NULL); if (gst_element_implements_interface (GST_ELEMENT (camera), -- 2.7.4