"sink_1::xpos=0 sink_1::ypos=0 sink_1::zorder=1 sink_1::alpha=0.7 ! "
"videoconvert ! ximagesink name=img_mixed "
"t_raw. ! queue ! mix.sink_0 "
- "t_raw. ! queue ! tensor_converter ! tensor_decoder ! videoscale ! video/x-raw,width=%d,height=%d ! mix.sink_1 "
+ "t_raw. ! queue ! tensor_converter ! tensor_decoder mode=direct_video ! videoscale ! video/x-raw,width=%d,height=%d ! mix.sink_1 "
"t_raw. ! queue ! videoconvert ! ximagesink name=img_origin",
width, height, width / 2, height / 2);
g_app.pipeline = gst_parse_launch (str_pipeline, NULL);
/** init player pipeline */
str_pipeline =
g_strdup_printf
- ("appsrc name=player_src ! tensor_decoder ! videoconvert ! ximagesink");
+ ("appsrc name=player_src ! tensor_decoder mode=direct_video ! videoconvert ! ximagesink");
g_app.player_pipeline = gst_parse_launch (str_pipeline, NULL);
g_free (str_pipeline);
_check_cond_err (g_app.player_pipeline != NULL);