- gint aspect_ratio, width, height = 0;
- gst_structure_get_int (msgstruct, "aspect_ratio", &aspect_ratio);
- gst_structure_get_int (msgstruct, "width", &width);
- gst_structure_get_int (msgstruct, "height", &height);
- eDebug("****** decoder threw eventSizeChanged! aspect_ratio=%i, width=%i, height=%i", aspect_ratio, width, height);
+ gst_structure_get_int (msgstruct, "aspect_ratio", &m_aspect);
+ gst_structure_get_int (msgstruct, "width", &m_width);
+ gst_structure_get_int (msgstruct, "height", &m_height);
+ if (strstr(eventname, "Changed"))
+ m_event((iPlayableService*)this, evVideoSizeChanged);