[evaspixmapsink] Fix bug to re-create pixmaps for new evas image object tizen
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 2 Aug 2013 10:38:52 +0000 (19:38 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 2 Aug 2013 10:38:52 +0000 (19:38 +0900)
Change-Id: I9b39ea65ba77be232afb0d9c91aef7f7f856cb5b

evaspixmapsink/evaspixmapsink.c
packaging/gst-plugins-ext0.10.spec

index 82f6c39..e903eca 100644 (file)
@@ -3468,13 +3468,13 @@ gst_evaspixmapsink_set_property (GObject *object, guint prop_id, const GValue *v
                                /* delete evas object callbacks registrated on a former evas image object */
                                evas_object_event_callback_del (evaspixmapsink->eo, EVAS_CALLBACK_DEL, evas_callback_del_event);
                                evas_object_event_callback_del (evaspixmapsink->eo, EVAS_CALLBACK_RESIZE, evas_callback_resize_event);
+                               evaspixmapsink->eo = eo;
                                if (evaspixmapsink->eo) {
                                        if (!gst_evaspixmapsink_xpixmap_link(evaspixmapsink)) {
                                                GST_WARNING_OBJECT (evaspixmapsink,"link evas image object with pixmap failed...");
                                                return;
                                        }
                                }
-                               evaspixmapsink->eo = eo;
                                /* add evas object callbacks on a new evas image object */
                                evas_object_event_callback_add (evaspixmapsink->eo, EVAS_CALLBACK_DEL, evas_callback_del_event, evaspixmapsink);
                                evas_object_event_callback_add (evaspixmapsink->eo, EVAS_CALLBACK_RESIZE, evas_callback_resize_event, evaspixmapsink);
index 48c341f..ec462b8 100644 (file)
@@ -1,5 +1,5 @@
 Name:       gst-plugins-ext0.10
-Version:    0.3.7
+Version:    0.3.8
 Summary:    GStreamer extra plugins (common)
 Release:    0
 Group:      libs