Skip to content

Commit

Permalink
meta-meson: CB1 remove alignment caps in tsdemux [1/1]
Browse files Browse the repository at this point in the history
PD#SWPL-163568

Problem:
gst1.20 delete alignment caps in tsdemux

Solution:
remove alignment caps in tsdemux

Verify:
AH212

Signed-off-by: le.han <[email protected]>
Change-Id: I6284455254b49373eec0920bf40c3dbc7d468db4
  • Loading branch information
le.han authored and Mark-Wan-Namtso committed Sep 9, 2024
1 parent 7c40775 commit 0e12f5c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index cc1b24d..54df774 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -1865,18 +1865,15 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
stream->is_video = TRUE;
caps = gst_caps_new_simple ("application/x-hdcp",
"original-media-type", G_TYPE_STRING, "video/x-h264",
- "stream-format", G_TYPE_STRING, "byte-stream",
- "alignment", G_TYPE_STRING, "nal", NULL);
+ "stream-format", G_TYPE_STRING, "byte-stream", NULL);
} else {
caps = gst_caps_new_simple("video/x-h264",
- "stream-format", G_TYPE_STRING, "byte-stream",
- "alignment", G_TYPE_STRING, "nal", NULL);
+ "stream-format", G_TYPE_STRING, "byte-stream", NULL);
}
}
else {
caps = gst_caps_new_simple ("video/x-h265",
- "stream-format", G_TYPE_STRING, "byte-stream",
- "alignment", G_TYPE_STRING, "nal", NULL);
+ "stream-format", G_TYPE_STRING, "byte-stream", NULL);
}

desc = mpegts_get_descriptor_from_stream (bstream, 0xb0);
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ SRC_URI:append = "file://0046-SWPL-100464-add-parse-sequence-extention.patch "
SRC_URI:append = "file://0047-SWPL-85490-recalculate-frame-rate.patch "
SRC_URI:append = "file://0048-OTT-44638-modify-hls-ts-demux-videoparser-to-parse-sampleAES.patch "
SRC_URI:append = "file://0049-gsthlsdemux-CF1-support-HLS-AES128-decryption.patch "
SRC_URI:append = "file://0050-SWPL-163568-remove-alignment-caps-in-tsdemux.patch "

DEPENDS += "gst-aml-drmbufferpool-plugins"

Expand Down

0 comments on commit 0e12f5c

Please sign in to comment.