summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ff2f57d)
Was getting:
free(): invalid pointer
Bug-AGL: SPEC-4148
Change-Id: I81bc58f647c0d4cb57a2d1bd7cecb80e943c05d2
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
GstElement *pipeline = gst_parse_launch(pipeline_str, &error);
if (error || !pipeline) {
fprintf(stderr, "gstreamer pipeline construction failed!\n");
GstElement *pipeline = gst_parse_launch(pipeline_str, &error);
if (error || !pipeline) {
fprintf(stderr, "gstreamer pipeline construction failed!\n");
window = create_window(display, WINDOW_WIDTH_SIZE, WINDOW_HEIGHT_SIZE, app_id);
if (!window) {
window = create_window(display, WINDOW_WIDTH_SIZE, WINDOW_HEIGHT_SIZE, app_id);
if (!window) {
destroy_window(window);
destroy_display(display);
destroy_window(window);
destroy_display(display);
gst_element_set_state(pipeline, GST_STATE_NULL);
gst_object_unref(pipeline);
gst_element_set_state(pipeline, GST_STATE_NULL);
gst_object_unref(pipeline);