After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765583 - ximageutil: shouldn't implement transform if don't support it
ximageutil: shouldn't implement transform if don't support it
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-26 09:02 UTC by kevin
Modified: 2016-04-29 07:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the issue. (1.45 KB, patch)
2016-04-26 09:13 UTC, kevin
committed Details | Review

Description kevin 2016-04-26 09:02:15 UTC
shouldn't implement transform if don't support it. Or    
gst_buffer_copy_into() will print ERROR log.
      } else if (info->transform_func) {
        GstMetaTransformCopy copy_data;

        copy_data.region = region;
        copy_data.offset = offset;
        copy_data.size = size;

        if (!info->transform_func (dest, meta, src,
                _gst_meta_transform_copy, &copy_data)) {
          GST_CAT_ERROR (GST_CAT_BUFFER,
              "failed to copy meta %p of API type %s", meta,
              g_type_name (info->api));
        }
      }
Comment 1 kevin 2016-04-26 09:13:22 UTC
Created attachment 326737 [details] [review]
Patch to fix the issue.
Comment 2 kevin 2016-04-29 02:40:11 UTC
Everything is ok when use ximagesrc. But has one ERROR log. Do you have any other solution?
Comment 3 Sebastian Dröge (slomo) 2016-04-29 07:10:05 UTC
commit 11899106d0102ab29ee6176e0c4b10a2f1e3172c
Author: Song Bing <b06498@freescale.com>
Date:   Tue Apr 26 17:01:49 2016 +0800

    ximageutil: shouldn't implement transform if don't support it
    
    shouldn't implement transform if don't support it. Or gst_buffer_copy_into()
    will print ERROR log.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765583