[gnome-network-displays] wfd-media-factory: Fix capabilities to permit constrained-baseline



commit 90dc2dd0de7fe9de1aa54603e3080258cdc3744a
Author: Benjamin Berg <bberg redhat com>
Date:   Tue Apr 20 15:27:40 2021 +0200

    wfd-media-factory: Fix capabilities to permit constrained-baseline
    
    The previous commit bff09df2bff9 ("wfd: Allow both baseline and
    constrained-baseline") had a bug which caused the baseline profile to be
    selected during media pipeline creation.

 src/wfd/wfd-media-factory.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/wfd/wfd-media-factory.c b/src/wfd/wfd-media-factory.c
index fcf7598..7e78c25 100644
--- a/src/wfd/wfd-media-factory.c
+++ b/src/wfd/wfd-media-factory.c
@@ -304,7 +304,6 @@ wfd_media_factory_create_element (GstRTSPMediaFactory *factory, const GstRTSPUrl
   caps = gst_caps_from_string 
("video/x-h264,alignment=nal,stream-format=byte-stream,profile=constrained-baseline");
   gst_caps_append (caps,
                    gst_caps_from_string 
("video/x-h264,alignment=nal,stream-format=byte-stream,profile=baseline"));
-  caps = gst_caps_from_string ("video/x-h264,alignment=nal,stream-format=byte-stream,profile=baseline");
   codecfilter = gst_element_factory_make ("capsfilter", "wfd-codecfilter");
   g_object_set (codecfilter,
                 "caps", caps,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]