docs: copy-paste fix

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2861>
This commit is contained in:
Krystian Wojtas 2022-08-09 16:24:48 +02:00 committed by Tim-Philipp Müller
parent 3aafef7955
commit 7ef60aa0f9

View file

@ -416,7 +416,7 @@ main (gint argc,
g_error ("Could not create 'videoconvert' element");
vs = gst_element_factory_make ("videoscale", "vs");
if (csp == NULL)
if (vs == NULL)
g_error ("Could not create 'videoscale' element");
sink = gst_element_factory_make ("autovideosink", "sink");