projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37af93c
)
vrawpay: fix UYVP format
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 24 Jul 2013 10:41:58 +0000
(12:41 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 24 Jul 2013 10:41:58 +0000
(12:41 +0200)
gst/rtp/gstrtpvrawpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpvrawpay.c
b/gst/rtp/gstrtpvrawpay.c
index
0e49e3a
..
f5b7b0d
100644
(file)
--- a/
gst/rtp/gstrtpvrawpay.c
+++ b/
gst/rtp/gstrtpvrawpay.c
@@
-177,7
+177,7
@@
gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
break;
case GST_VIDEO_FORMAT_UYVP:
samplingstr = "YCbCr-4:2:2";
- pgroup =
4
;
+ pgroup =
5
;
xinc = 2;
depth = 10;
depthstr = "10";
@@
-409,6
+409,7
@@
gst_rtp_vraw_pay_handle_buffer (GstRTPBasePayload * payload, GstBuffer * buffer)
case GST_VIDEO_FORMAT_BGR:
case GST_VIDEO_FORMAT_BGRA:
case GST_VIDEO_FORMAT_UYVY:
+ case GST_VIDEO_FORMAT_UYVP:
offs /= rtpvrawpay->xinc;
memcpy (outdata, yp + (lin * ystride) + (offs * pgroup), length);
outdata += length;