mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ges: ffmpegcolorspace is dead, long live videoconvert
This commit is contained in:
parent
7cdd9694ff
commit
ebcd5ae3fa
4 changed files with 8 additions and 8 deletions
|
@ -120,7 +120,7 @@ ges_track_image_source_create_element (GESTrackObject * object)
|
|||
source = gst_element_factory_make ("uridecodebin", NULL);
|
||||
scale = gst_element_factory_make ("videoscale", NULL);
|
||||
freeze = gst_element_factory_make ("imagefreeze", NULL);
|
||||
iconv = gst_element_factory_make ("ffmpegcolorspace", NULL);
|
||||
iconv = gst_element_factory_make ("videoconvert", NULL);
|
||||
|
||||
g_object_set (scale, "add-borders", TRUE, NULL);
|
||||
|
||||
|
|
|
@ -158,8 +158,8 @@ ges_track_parse_launch_effect_create_element (GESTrackObject * object)
|
|||
}
|
||||
|
||||
if (track->type == GES_TRACK_TYPE_VIDEO) {
|
||||
bin_desc = g_strconcat ("ffmpegcolorspace name=beforecolorspace ! ",
|
||||
self->priv->bin_description, " ! ffmpegcolorspace name=aftercolorspace",
|
||||
bin_desc = g_strconcat ("videoconvert name=pre_video_convert ! ",
|
||||
self->priv->bin_description, " ! videoconvert name=post_video_convert",
|
||||
NULL);
|
||||
} else if (track->type == GES_TRACK_TYPE_AUDIO) {
|
||||
bin_desc =
|
||||
|
|
|
@ -146,8 +146,8 @@ ges_track_text_overlay_create_element (GESTrackObject * object)
|
|||
GESTrackTextOverlay *self = GES_TRACK_TEXT_OVERLAY (object);
|
||||
|
||||
text = gst_element_factory_make ("textoverlay", NULL);
|
||||
iconv = gst_element_factory_make ("ffmpegcolorspace", NULL);
|
||||
oconv = gst_element_factory_make ("ffmpegcolorspace", NULL);
|
||||
iconv = gst_element_factory_make ("videoconvert", NULL);
|
||||
oconv = gst_element_factory_make ("videoconvert", NULL);
|
||||
self->priv->text_el = text;
|
||||
g_object_ref (text);
|
||||
|
||||
|
|
|
@ -199,9 +199,9 @@ ges_track_video_transition_create_element (GESTrackObject * object)
|
|||
GST_LOG ("creating a video bin");
|
||||
|
||||
topbin = gst_bin_new ("transition-bin");
|
||||
iconva = gst_element_factory_make ("ffmpegcolorspace", "tr-csp-a");
|
||||
iconvb = gst_element_factory_make ("ffmpegcolorspace", "tr-csp-b");
|
||||
oconv = gst_element_factory_make ("ffmpegcolorspace", "tr-csp-output");
|
||||
iconva = gst_element_factory_make ("videoconvert", "tr-csp-a");
|
||||
iconvb = gst_element_factory_make ("videoconvert", "tr-csp-b");
|
||||
oconv = gst_element_factory_make ("videoconvert", "tr-csp-output");
|
||||
|
||||
gst_bin_add_many (GST_BIN (topbin), iconva, iconvb, oconv, NULL);
|
||||
/* Prefer videomixer2 to videomixer */
|
||||
|
|
Loading…
Reference in a new issue