projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809460c
)
videotestsrc: Fix recent breakage of smpte75 pattern
author
David Schleef
<ds@schleef.org>
Fri, 10 Sep 2010 19:03:07 +0000
(12:03 -0700)
committer
David Schleef
<ds@schleef.org>
Tue, 14 Sep 2010 19:33:22 +0000
(12:33 -0700)
gst/videotestsrc/videotestsrc.c
patch
|
blob
|
history
diff --git
a/gst/videotestsrc/videotestsrc.c
b/gst/videotestsrc/videotestsrc.c
index
de25727
..
4f4dfe8
100644
(file)
--- a/
gst/videotestsrc/videotestsrc.c
+++ b/
gst/videotestsrc/videotestsrc.c
@@
-920,6
+920,11
@@
gst_video_test_src_smpte75 (GstVideoTestSrc * v, unsigned char *dest, int w,
struct fourcc_list_struct *fourcc;
videotestsrc_setup_paintinfo (v, p, w, h);
+ if (v->color_spec == GST_VIDEO_TEST_SRC_BT601) {
+ p->colors = vts_colors_bt601_ycbcr_75;
+ } else {
+ p->colors = vts_colors_bt709_ycbcr_75;
+ }
fourcc = v->fourcc;
if (fourcc == NULL)
return;