After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529015 - Port from deprecated img_convert to swscale
Port from deprecated img_convert to swscale
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal major
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-20 11:13 UTC by Sebastian Dröge (slomo)
Modified: 2008-05-08 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.69 KB, patch)
2008-05-06 16:29 UTC, Edward Hervey
committed Details | Review

Description Sebastian Dröge (slomo) 2008-04-20 11:13:19 UTC
Hi,
img_convert is deprecated in ffmpeg SVN too now, the replacement for converting between pixel formats is swscale. Unfortunately swscale has the interesting parts (assembly optimizations) licensed under GPL so we have to live with the LGPL'd C implementations.
Comment 1 Edward Hervey 2008-05-06 16:29:32 UTC
Created attachment 110469 [details] [review]
proposed patch

This switches all usage of img_convert to sws_scale.
Comment 2 Edward Hervey 2008-05-08 13:45:28 UTC
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_img_convert):
	Replace usage of img_convert (deprecated) by sws_scale.
	Fixes #529015