[longomatch] Try to remove I420 from the caps filter to fix Windows HW video encoding.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Try to remove I420 from the caps filter to fix Windows HW video encoding.
- Date: Wed, 21 Jan 2015 10:53:00 +0000 (UTC)
commit 0958035f1430a460cb2836962a88edee783dcd38
Author: Julien Moutte <julien fluendo com>
Date: Thu Jan 15 17:18:08 2015 +0100
Try to remove I420 from the caps filter to fix Windows HW video encoding.
libcesarplayer/gst-video-encoder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/gst-video-encoder.c b/libcesarplayer/gst-video-encoder.c
index b6e77b5..33b5d9e 100644
--- a/libcesarplayer/gst-video-encoder.c
+++ b/libcesarplayer/gst-video-encoder.c
@@ -255,8 +255,8 @@ gst_video_encoder_create_encoder_bin (GstVideoEncoder * gve)
/* Set caps for the encoding resolution */
video_caps = gst_caps_new_simple ("video/x-raw-yuv", NULL);
- gst_caps_set_simple (video_caps, "format", GST_TYPE_FOURCC,
- GST_STR_FOURCC ("I420"), NULL);
+ /* gst_caps_set_simple (video_caps, "format", GST_TYPE_FOURCC,
+ GST_STR_FOURCC ("I420"), NULL); */
gst_caps_set_simple (video_caps, "pixel-aspect-ratio", GST_TYPE_FRACTION,
1, 1, NULL);
if (gve->priv->output_width != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]