diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-09-05 18:33:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-09-05 18:34:21 +0100 |
commit | 2f6f0ee2149e83841e0e7cb8c69197e385db3d51 (patch) | |
tree | 47d4534a52d46d8c8d2fb861aa5a76ce520219b5 | |
parent | ede804041c5efa5c6e977fb94c43c669a57d1adc (diff) |
video-format: minor pack_YVYU optimisation
Re-use already calculated line offset.
-rw-r--r-- | gst-libs/gst/video/video-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index 6d1328697..72a9594b4 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -235,7 +235,7 @@ pack_YVYU (const GstVideoFormatInfo * info, GstVideoPackFlags flags, guint8 *line = GET_LINE (y); const guint8 *ayuv = src; - video_orc_pack_YVYU (GET_LINE (y), src, width / 2); + video_orc_pack_YVYU (line, src, width / 2); if (width & 1) { gint i = width - 1; |