Changeset 232060 in webkit
- Timestamp:
- May 22, 2018 4:37:15 AM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 deleted
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r232052 r232060 1 2018-05-22 Thibault Saunier <tsaunier@igalia.com> 2 3 [GStreamer] Update to GStreamer 1.14.1 in jhbuild 4 https://bugs.webkit.org/show_bug.cgi?id=185689 5 6 Reviewed by Philippe Normand. 7 8 And update the patches, removing the ones that have been merged upstream. 9 10 * gstreamer/jhbuild.modules: 11 * gstreamer/patches/gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch: Removed. 12 * gstreamer/patches/gst-plugins-good-0001-souphttpsrc-cookie-jar-and-context-query-support.patch: Removed. Not needed anymore and closed as OBSELETE upstream. 13 * gstreamer/patches/gst-plugins-good-0002-qtdemux-add-context-for-a-preferred-protection.patch: Renamed from Tools/gstreamer/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch 14 This patch has now been merged in GStreamer master and will be there in GStreamer 1.16. 15 * gstreamer/patches/gst-plugins-good-0003-qtdemux-also-push-buffers-without-encryption-info-in.patch: Renamed from Tools/gstreamer/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch. 16 This patch has now been merged in GStreamer master and will be there in GStreamer 1.16. 17 * gstreamer/patches/gst-plugins-good-0009-qtdemux-fix-assert-when-moof-contains-one-sample.patch: Removed. 18 * gstreamer/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Removed. 19 1 20 2018-05-21 Yusuke Suzuki <utatane.tea@gmail.com> 2 21 -
trunk/Tools/gstreamer/jhbuild.modules
r230565 r232060 45 45 <dep package="orc"/> 46 46 </dependencies> 47 <branch module="gstreamer/gstreamer-${version}.tar.xz" version="1.12.4" 48 repo="gstreamer" 49 hash="sha256:5a8704aa4c2eeb04da192c4a9942f94f860ac1a585de90d9f914bac26a970674"> 50 <patch file="gstreamer-0001-protection-added-function-to-filter-system-ids.patch" strip="1"/> 47 <branch hash="sha:28d82b0d261544a9bf85b429399929e4986eb00efcf1ce16cc71d269a4c3186c" module="gstreamer/gstreamer-${version}.tar.xz" repo="gstreamer" version="1.14.1"> 51 48 </branch> 52 49 </autotools> … … 61 58 <dep package="gstreamer"/> 62 59 </dependencies> 63 <branch module="gst-plugins-base/gst-plugins-base-${version}.tar.xz" version="1.12.4" 64 repo="gstreamer" 65 hash="sha256:4c306b03df0212f1b8903784e29bb3493319ba19ebebf13b0c56a17870292282"/> 60 <branch hash="sha:1026c7c3082d825d9b5d034c1a6dd8a4ebab60eb3738b0a0afde4ad2dc0b0db5" module="gst-plugins-base/gst-plugins-base-${version}.tar.xz" repo="gstreamer" version="1.14.1" /> 66 61 </autotools> 67 62 … … 72 67 </dependencies> 73 68 74 <branch module="gst-plugins-good/gst-plugins-good-${version}.tar.xz" version="1.12.4" 75 repo="gstreamer" 76 hash="sha256:649f49bec60892d47ee6731b92266974c723554da1c6649f21296097715eb957"> 77 <patch file="gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch" strip="1"/> 78 <patch file="gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch" strip="1"/> 79 <patch file="gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch" strip="1"/> 80 <patch file="gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch" strip="1"/> 81 <patch file="gst-plugins-good-0009-qtdemux-fix-assert-when-moof-contains-one-sample.patch" strip="1"/> 69 <branch hash="sha:34ec062ddb766a32377532e039781f4a16fbc3e8b449e642605bacab26a99172" module="gst-plugins-good/gst-plugins-good-${version}.tar.xz" repo="gstreamer" version="1.14.1"> 70 <patch file="gst-plugins-good-0002-qtdemux-add-context-for-a-preferred-protection.patch" strip="1" /> <!-- Merged as ee4b45da24cb7465b416c230597f8efc7b2c45cb --> 71 <patch file="gst-plugins-good-0003-qtdemux-also-push-buffers-without-encryption-info-in.patch" strip="1" /> <!-- Merged as 844423ff99e281fc831303b92861ed43ce5c1518 --> 82 72 </branch> 83 73 </autotools> … … 89 79 <dep package="openh264"/> 90 80 </dependencies> 91 <branch module="gst-plugins-bad/gst-plugins-bad-${version}.tar.xz" version="1.12.4" 92 repo="gstreamer" 93 hash="sha256:0c7857be16686d5c1ba6e34bd338664d3d4599d32714a8eca5c8a41a101e2d08"/> 81 <branch hash="sha:2a77c6908032aafdf2cd2e5823fec948f16a25c2d1497a953828d762dc20d61a" module="gst-plugins-bad/gst-plugins-bad-${version}.tar.xz" repo="gstreamer" version="1.14.1" /> 94 82 </autotools> 95 83 … … 98 86 <dep package="gst-plugins-base"/> 99 87 </dependencies> 100 <branch module="gst-libav/gst-libav-${version}.tar.xz" version="1.12.4" 101 repo="gstreamer" 102 hash="sha256:2a56aa5d2d8cd912f2bce17f174713d2c417ca298f1f9c28ee66d4aa1e1d9e62"/> 88 <branch hash="sha:eff80a02d2f2fb9f34b67e9a26e9954d3218c7aa18e863f2a47805fa7066029d" module="gst-libav/gst-libav-${version}.tar.xz" repo="gstreamer" version="1.14.1" /> 103 89 </autotools> 104 90 105 91 <autotools id="gstreamer-vaapi"> 106 <branch module="gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz" version="1.12.4" 107 repo="gstreamer" 108 hash="sha256:1c2d77242e1f30c4d1394636cae9f6877228a017960fca96881e0080d8b6e9c9"/> 92 <branch hash="sha:585c3ddb0c39220de0a33e5d0ed6196a108b8407ec3538d7c64617713b4434e8" module="gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz" repo="gstreamer" version="1.14.1" /> 109 93 <dependencies> 110 94 <dep package="gstreamer"/> -
trunk/Tools/gstreamer/patches/gst-plugins-good-0002-qtdemux-add-context-for-a-preferred-protection.patch
r232059 r232060 1 From e09ab95ad39264783bf0e57dfb89165ad9b83802Mon Sep 17 00:00:00 20011 From 0ba62ba4805e2cdbed17fa9934762d685be42fd4 Mon Sep 17 00:00:00 2001 2 2 From: Xabier Rodriguez Calvar <calvaris@igalia.com> 3 3 Date: Wed, 21 Jun 2017 17:59:21 +0200 4 Subject: [PATCH ] qtdemux: add context for a preferred protection4 Subject: [PATCH 2/7] qtdemux: add context for a preferred protection 5 5 6 6 qtdemux selected the first system corresponding to a working GStreamer … … 32 32 https://bugzilla.gnome.org/show_bug.cgi?id=770107 33 33 --- 34 gst/isomp4/qtdemux.c | 200 +++++++++++++++++++++++++++++++++++++++++ ++++++++--34 gst/isomp4/qtdemux.c | 200 +++++++++++++++++++++++++++++++++++++++++-- 35 35 gst/isomp4/qtdemux.h | 1 + 36 36 2 files changed, 195 insertions(+), 6 deletions(-) 37 37 38 38 diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c 39 index f0f8320e2..f710d268510064439 index 705bdf7ca..da22463f8 100644 40 40 --- a/gst/isomp4/qtdemux.c 41 41 +++ b/gst/isomp4/qtdemux.c 42 @@ -51 3,6 +513,8 @@ static GstIndex *gst_qtdemux_get_index (GstElement * element);42 @@ -511,6 +511,8 @@ static GstIndex *gst_qtdemux_get_index (GstElement * element); 43 43 #endif 44 44 static GstStateChangeReturn gst_qtdemux_change_state (GstElement * element, … … 49 49 static gboolean qtdemux_sink_activate_mode (GstPad * sinkpad, 50 50 GstObject * parent, GstPadMode mode, gboolean active); 51 @@ -60 2,6 +604,7 @@ gst_qtdemux_class_init (GstQTDemuxClass * klass)51 @@ -600,6 +602,7 @@ gst_qtdemux_class_init (GstQTDemuxClass * klass) 52 52 gstelement_class->set_index = GST_DEBUG_FUNCPTR (gst_qtdemux_set_index); 53 53 gstelement_class->get_index = GST_DEBUG_FUNCPTR (gst_qtdemux_get_index); … … 57 57 gst_tag_register_musicbrainz_tags (); 58 58 59 @@ -6 60,6 +663,7 @@ gst_qtdemux_init (GstQTDemux * qtdemux)59 @@ -658,6 +661,7 @@ gst_qtdemux_init (GstQTDemux * qtdemux) 60 60 qtdemux->cenc_aux_info_sizes = NULL; 61 61 qtdemux->cenc_aux_sample_count = 0; … … 65 65 gst_segment_init (&qtdemux->segment, GST_FORMAT_TIME); 66 66 qtdemux->tag_list = gst_tag_list_new_empty (); 67 @@ -21 14,6 +2118,10 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard)67 @@ -2121,6 +2125,10 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard) 68 68 g_ptr_array_free (qtdemux->protection_system_ids, TRUE); 69 69 qtdemux->protection_system_ids = NULL; … … 76 76 gst_flow_combiner_reset (qtdemux->flowcombiner); 77 77 for (n = 0; n < qtdemux->n_streams; n++) 78 @@ -2600,6 +2608,28 @@ gst_qtdemux_change_state (GstElement * element, GstStateChange transition) 78 @@ -2606,6 +2614,28 @@ gst_qtdemux_change_state (GstElement * element, GstStateChange transition) 79 return result; 79 80 } 80 81 81 82 +static void 82 83 +gst_qtdemux_set_context (GstElement * element, GstContext * context) 83 84 +{ … … 101 102 +} 102 103 + 103 +static void104 static void 104 105 qtdemux_parse_ftyp (GstQTDemux * qtdemux, const guint8 * buffer, gint length) 105 106 { 106 /* counts as header data */ 107 @@ -3829,6 +3859,8 @@ qtdemux_parse_pssh (GstQTDemux * qtdemux, GNode * node) 107 @@ -3847,6 +3877,8 @@ qtdemux_parse_pssh (GstQTDemux * qtdemux, GNode * node) 108 108 event = gst_event_new_protection (sysid_string, pssh, 109 109 (parent_box_type == FOURCC_moov) ? "isobmff/moov" : "isobmff/moof"); … … 114 114 gst_event_ref (event)); 115 115 } 116 @@ -55 38,6 +5570,8 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux,116 @@ -5563,6 +5595,8 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux, 117 117 GstEvent *event; 118 118 … … 123 123 } 124 124 125 @@ -7696,11 +7730,141 @@ qtdemux_do_allocation (GstQTDemux * qtdemux, QtDemuxStream * stream) 125 @@ -7756,12 +7790,142 @@ qtdemux_do_allocation (GstQTDemux * qtdemux, QtDemuxStream * stream) 126 #endif 126 127 } 127 128 128 129 +static gboolean 129 130 +pad_query (const GValue * item, GValue * value, gpointer user_data) 130 131 +{ … … 256 257 +} 257 258 + 258 +static gboolean259 static gboolean 259 260 gst_qtdemux_configure_protected_caps (GstQTDemux * qtdemux, 260 261 QtDemuxStream * stream) … … 266 267 g_return_val_if_fail (qtdemux != NULL, FALSE); 267 268 g_return_val_if_fail (stream != NULL, FALSE); 268 @@ -77 16,17 +7880,41 @@ gst_qtdemux_configure_protected_caps (GstQTDemux * qtdemux,269 @@ -7777,17 +7941,41 @@ gst_qtdemux_configure_protected_caps (GstQTDemux * qtdemux, 269 270 "cenc protection system information has been found"); 270 271 return FALSE; … … 314 315 gst_structure_set (s, 315 316 diff --git a/gst/isomp4/qtdemux.h b/gst/isomp4/qtdemux.h 316 index ebd725871..b3d64a4e8100644317 index ad4da3ef2..079372356 100644 317 318 --- a/gst/isomp4/qtdemux.h 318 319 +++ b/gst/isomp4/qtdemux.h 319 @@ -15 4,6 +154,7 @@ struct _GstQTDemux {320 @@ -151,6 +151,7 @@ struct _GstQTDemux { 320 321 guint64 cenc_aux_info_offset; 321 322 guint8 *cenc_aux_info_sizes; … … 326 327 /* 327 328 -- 328 2.1 1.0329 329 2.17.0 330 -
trunk/Tools/gstreamer/patches/gst-plugins-good-0003-qtdemux-also-push-buffers-without-encryption-info-in.patch
r232059 r232060 1 From 7 8559bc5db3495f12b0284e4be5fc8bfcd7041e2Mon Sep 17 00:00:00 20011 From 762e9c645ec13513c62eb5a3800d7406e01cdcb7 Mon Sep 17 00:00:00 2001 2 2 From: =?UTF-8?q?Enrique=20Oca=C3=B1a=20Gonz=C3=A1lez?= <eocanha@igalia.com> 3 3 Date: Mon, 24 Apr 2017 17:22:02 +0000 4 Subject: [PATCH ] qtdemux: also push buffers without encryption info instead of5 dropping them4 Subject: [PATCH 3/7] qtdemux: also push buffers without encryption info 5 instead of dropping them 6 6 7 7 --- 8 gst/isomp4/qtdemux.c | 26 ++++++++++++--------------9 1 file changed, 1 2 insertions(+), 14deletions(-)8 gst/isomp4/qtdemux.c | 39 +++++++++++++++++++-------------------- 9 1 file changed, 19 insertions(+), 20 deletions(-) 10 10 11 11 diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c 12 index f0f8320..3f2c01610064412 index da22463f8..8e9f5b9ae 100644 13 13 --- a/gst/isomp4/qtdemux.c 14 14 +++ b/gst/isomp4/qtdemux.c 15 @@ -5 541,26 +5541,25 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux,15 @@ -5600,26 +5600,25 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux, 16 16 gst_pad_push_event (stream->pad, event); 17 17 } … … 60 60 61 61 -- 62 2.1 1.062 2.17.0 63 63
Note: See TracChangeset
for help on using the changeset viewer.