diff options
author | David Schleef <ds@schleef.org> | 2010-09-10 12:03:07 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-09-14 12:33:22 -0700 |
commit | 9b8da1acfba677f7c6256dfe717f68d4fd2dba9a (patch) | |
tree | 10e121ae31c767a1fc3c34adcd4ab7e9fc32231e | |
parent | 809460c651a8f1a8b718ece34feaf67139301033 (diff) |
videotestsrc: Fix recent breakage of smpte75 pattern
-rw-r--r-- | gst/videotestsrc/videotestsrc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index de25727b1..4f4dfe8e7 100644 --- 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; |