- The width and height information in preview callback can be incorrect.
It's happened when "VideoFilterElement" is added and it rotates preview frames as 90CW or 90CCW.
[Version] 0.10.298
[Issue Type] Bug fix
Change-Id: I87983fac0daac2b75b63db9e2bcdba74a7798347
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.297
+Version: 0.10.298
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
}
/* make sample with buffer and caps */
- caps = gst_pad_get_allowed_caps(pad);
+ caps = gst_pad_get_current_caps(pad);
mmf_return_val_if_fail(caps, GST_PAD_PROBE_OK);
sample = gst_sample_new(buffer, caps, NULL, NULL);