[Spice-commits] src/channel-display-priv.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Sep 18 08:20:04 UTC 2023
src/channel-display-priv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 20c414f88a140ef5083b031e84feb599c1740cb5
Author: Vivek Kasireddy <vivek.kasireddy at intel.com>
Date: Thu Sep 14 17:12:12 2023 -0700
channel-display-gst: Add "byte-stream" as the stream format for h264
Adding the string "stream-format=byte-stream" to decoder capabilities
(dec_caps) for h264/h265 codecs stops Gstreamer from complaining
about missing stream format.
Cc: Frediano Ziglio <freddy77 at gmail.com>
Cc: Dongwon Kim <dongwon.kim at intel.com>
Cc: Jin Chung Teng <jin.chung.teng at intel.com>
Cc: Hazwan Arif Mazlan <hazwan.arif.mazlan at intel.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy at intel.com>
Acked-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/src/channel-display-priv.h b/src/channel-display-priv.h
index 66c9cff..1a7590a 100644
--- a/src/channel-display-priv.h
+++ b/src/channel-display-priv.h
@@ -177,7 +177,7 @@ static const struct {
* (hardcoded in spice-server), let's add it here to avoid the warning.
*/
{ SPICE_DISPLAY_CAP_CODEC_H264, "h264",
- "h264parse ! avdec_h264", "video/x-h264" },
+ "h264parse ! avdec_h264", "video/x-h264,stream-format=byte-stream" },
/* SPICE_VIDEO_CODEC_TYPE_VP9 */
{ SPICE_DISPLAY_CAP_CODEC_VP9, "vp9",
@@ -185,7 +185,7 @@ static const struct {
/* SPICE_DISPLAY_CAP_CODEC_H265 */
{ SPICE_DISPLAY_CAP_CODEC_H265, "h265",
- "h265parse ! avdec_h265", "video/x-h265" },
+ "h265parse ! avdec_h265", "video/x-h265,stream-format=byte-stream" },
};
More information about the Spice-commits
mailing list