-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-meson: CB1 remove alignment caps in tsdemux [1/1]
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
1 parent
7c40775
commit 0e12f5c
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...imedia/gstreamer/gst1-plugins-bad/0050-SWPL-163568-remove-alignment-caps-in-tsdemux.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters