From 11a151ef8049fbc09a19ce14d0b81b9a154d2c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 19 Sep 2021 01:18:00 +0100 Subject: [PATCH] mpegtsmux, mpegpsmux: remove GPL from choice of licenses and add SPDX license identifiers Some people need to avoid inclusion of GPL code for their use cases and thus get easily spooked by GPL license headers. This code is actually licensed under different licenses, only one of which is GPL, and it's already possible to just upgrade from LGPL to GPL anyway so having the GPL listed explicitly as one of the choices doesn't really add anything. So remove GPL from the list and also add SPDX license identifiers while we're at it. Part-of: --- gst/mpegpsmux/mpegpsmux_aac.c | 22 +++------------------- gst/mpegpsmux/mpegpsmux_aac.h | 22 +++------------------- gst/mpegpsmux/mpegpsmux_h264.c | 22 +++------------------- gst/mpegpsmux/mpegpsmux_h264.h | 22 +++------------------- gst/mpegtsmux/gstatscmux.c | 2 ++ gst/mpegtsmux/gstatscmux.h | 2 ++ gst/mpegtsmux/gstbasetsmux.c | 22 +++------------------- gst/mpegtsmux/gstbasetsmux.h | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxaac.c | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxaac.h | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxjpeg2000.c | 2 ++ gst/mpegtsmux/gstbasetsmuxjpeg2000.h | 2 ++ gst/mpegtsmux/gstbasetsmuxopus.c | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxopus.h | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxttxt.c | 22 +++------------------- gst/mpegtsmux/gstbasetsmuxttxt.h | 22 +++------------------- gst/mpegtsmux/gstmpegtsmux.c | 22 +++------------------- gst/mpegtsmux/gstmpegtsmux.h | 22 +++------------------- gst/mpegtsmux/gstmpegtsmuxplugin.c | 2 ++ gst/mpegtsmux/tsmux/tsmux.c | 22 +++------------------- gst/mpegtsmux/tsmux/tsmux.h | 22 +++------------------- gst/mpegtsmux/tsmux/tsmuxcommon.h | 22 +++------------------- gst/mpegtsmux/tsmux/tsmuxstream.c | 22 +++------------------- gst/mpegtsmux/tsmux/tsmuxstream.h | 22 +++------------------- 24 files changed, 67 insertions(+), 361 deletions(-) diff --git a/gst/mpegpsmux/mpegpsmux_aac.c b/gst/mpegpsmux/mpegpsmux_aac.c index 3f7b0cbcbd..b320fbef77 100644 --- a/gst/mpegpsmux/mpegpsmux_aac.c +++ b/gst/mpegpsmux/mpegpsmux_aac.c @@ -6,10 +6,9 @@ * * Copyright 2008 Lin YANG * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegpsmux/mpegpsmux_aac.h b/gst/mpegpsmux/mpegpsmux_aac.h index 6773d187c7..461dc772f2 100644 --- a/gst/mpegpsmux/mpegpsmux_aac.h +++ b/gst/mpegpsmux/mpegpsmux_aac.h @@ -6,10 +6,9 @@ * * Copyright 2008 Lin YANG * - * This library is licensed under 4 different licenses and you + * This library is licensed under three different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __MPEGPSMUX_AAC_H__ diff --git a/gst/mpegpsmux/mpegpsmux_h264.c b/gst/mpegpsmux/mpegpsmux_h264.c index bff1aa0f91..e5a04fef22 100644 --- a/gst/mpegpsmux/mpegpsmux_h264.c +++ b/gst/mpegpsmux/mpegpsmux_h264.c @@ -6,10 +6,9 @@ * * Copyright 2008 Lin YANG * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegpsmux/mpegpsmux_h264.h b/gst/mpegpsmux/mpegpsmux_h264.h index 8a854662b7..2fc6cc9e2f 100644 --- a/gst/mpegpsmux/mpegpsmux_h264.h +++ b/gst/mpegpsmux/mpegpsmux_h264.h @@ -6,10 +6,9 @@ * * Copyright 2008 Lin YANG * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __MPEGPSMUX_H264_H__ diff --git a/gst/mpegtsmux/gstatscmux.c b/gst/mpegtsmux/gstatscmux.c index 9a54fe016e..f50f5df2da 100644 --- a/gst/mpegtsmux/gstatscmux.c +++ b/gst/mpegtsmux/gstatscmux.c @@ -17,6 +17,8 @@ * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. + * + * SPDX-License-Identifier: LGPL-2.0-or-later */ #include "gstatscmux.h" diff --git a/gst/mpegtsmux/gstatscmux.h b/gst/mpegtsmux/gstatscmux.h index 41015723f2..e471b4ef84 100644 --- a/gst/mpegtsmux/gstatscmux.h +++ b/gst/mpegtsmux/gstatscmux.h @@ -17,6 +17,8 @@ * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. + * + * SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef __ATSCMUX_H__ diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c index 5fc5ee0a2a..55d80aa065 100644 --- a/gst/mpegtsmux/gstbasetsmux.c +++ b/gst/mpegtsmux/gstbasetsmux.c @@ -6,10 +6,9 @@ * * Copyright (C) 2011 Jan Schmidt * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #include diff --git a/gst/mpegtsmux/gstbasetsmux.h b/gst/mpegtsmux/gstbasetsmux.h index c0d678bcad..59114baccf 100644 --- a/gst/mpegtsmux/gstbasetsmux.h +++ b/gst/mpegtsmux/gstbasetsmux.h @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __BASETSMUX_H__ diff --git a/gst/mpegtsmux/gstbasetsmuxaac.c b/gst/mpegtsmux/gstbasetsmuxaac.c index 1080165d05..3712591ce4 100644 --- a/gst/mpegtsmux/gstbasetsmuxaac.c +++ b/gst/mpegtsmux/gstbasetsmuxaac.c @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/gstbasetsmuxaac.h b/gst/mpegtsmux/gstbasetsmuxaac.h index 6e9f0b034c..a8ef923cc0 100644 --- a/gst/mpegtsmux/gstbasetsmuxaac.h +++ b/gst/mpegtsmux/gstbasetsmuxaac.h @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __BASETSMUX_AAC_H__ diff --git a/gst/mpegtsmux/gstbasetsmuxjpeg2000.c b/gst/mpegtsmux/gstbasetsmuxjpeg2000.c index d901285b6d..e7b02cc51c 100644 --- a/gst/mpegtsmux/gstbasetsmuxjpeg2000.c +++ b/gst/mpegtsmux/gstbasetsmuxjpeg2000.c @@ -20,6 +20,8 @@ * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. + * + * SPDX-License-Identifier: LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/gstbasetsmuxjpeg2000.h b/gst/mpegtsmux/gstbasetsmuxjpeg2000.h index 75c3939dd9..9c1524e2d9 100644 --- a/gst/mpegtsmux/gstbasetsmuxjpeg2000.h +++ b/gst/mpegtsmux/gstbasetsmuxjpeg2000.h @@ -20,6 +20,8 @@ * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. + * + * SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef __BASETSMUX_JPEG2000_H__ diff --git a/gst/mpegtsmux/gstbasetsmuxopus.c b/gst/mpegtsmux/gstbasetsmuxopus.c index 75945bd6dc..b764073c3e 100644 --- a/gst/mpegtsmux/gstbasetsmuxopus.c +++ b/gst/mpegtsmux/gstbasetsmuxopus.c @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/gstbasetsmuxopus.h b/gst/mpegtsmux/gstbasetsmuxopus.h index f8d9dcfd2a..84f35e7e17 100644 --- a/gst/mpegtsmux/gstbasetsmuxopus.h +++ b/gst/mpegtsmux/gstbasetsmuxopus.h @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __BASETSMUX_OPUS_H__ diff --git a/gst/mpegtsmux/gstbasetsmuxttxt.c b/gst/mpegtsmux/gstbasetsmuxttxt.c index 03b6801a46..726612ec77 100644 --- a/gst/mpegtsmux/gstbasetsmuxttxt.c +++ b/gst/mpegtsmux/gstbasetsmuxttxt.c @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/gstbasetsmuxttxt.h b/gst/mpegtsmux/gstbasetsmuxttxt.h index 3b9f351c64..231d531602 100644 --- a/gst/mpegtsmux/gstbasetsmuxttxt.h +++ b/gst/mpegtsmux/gstbasetsmuxttxt.h @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __BASETSMUX_TTXT_H__ diff --git a/gst/mpegtsmux/gstmpegtsmux.c b/gst/mpegtsmux/gstmpegtsmux.c index a5fce84ad7..d5515a087c 100644 --- a/gst/mpegtsmux/gstmpegtsmux.c +++ b/gst/mpegtsmux/gstmpegtsmux.c @@ -6,10 +6,9 @@ * * Copyright (C) 2011 Jan Schmidt * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -40,22 +39,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -80,6 +63,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ /** diff --git a/gst/mpegtsmux/gstmpegtsmux.h b/gst/mpegtsmux/gstmpegtsmux.h index fb97405ec0..3cf96ddde7 100644 --- a/gst/mpegtsmux/gstmpegtsmux.h +++ b/gst/mpegtsmux/gstmpegtsmux.h @@ -4,10 +4,9 @@ * Kapil Agrawal * Julien Moutte * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL and the MIT license. * * MPL: * @@ -38,22 +37,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -78,6 +61,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __MPEGTSMUX_H__ diff --git a/gst/mpegtsmux/gstmpegtsmuxplugin.c b/gst/mpegtsmux/gstmpegtsmuxplugin.c index 22552a8b54..1b13e746ef 100644 --- a/gst/mpegtsmux/gstmpegtsmuxplugin.c +++ b/gst/mpegtsmux/gstmpegtsmuxplugin.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: LGPL-2.0-or-later */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index d0e0eb1ee7..e72d799ede 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -1,10 +1,9 @@ /* * Copyright 2006 BBC and Fluendo S.A. * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL, and the MIT license. * * MPL: * @@ -35,22 +34,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -75,6 +58,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/tsmux/tsmux.h b/gst/mpegtsmux/tsmux/tsmux.h index ddb5a662b9..5a790a56ad 100644 --- a/gst/mpegtsmux/tsmux/tsmux.h +++ b/gst/mpegtsmux/tsmux/tsmux.h @@ -1,10 +1,9 @@ /* * Copyright 2006 BBC and Fluendo S.A. * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL, and the MIT license. * * MPL: * @@ -35,22 +34,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -75,6 +58,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __TSMUX_H__ diff --git a/gst/mpegtsmux/tsmux/tsmuxcommon.h b/gst/mpegtsmux/tsmux/tsmuxcommon.h index eea4216408..29b12b9394 100644 --- a/gst/mpegtsmux/tsmux/tsmuxcommon.h +++ b/gst/mpegtsmux/tsmux/tsmuxcommon.h @@ -1,10 +1,9 @@ /* * Copyright 2006 BBC and Fluendo S.A. * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL, and the MIT license. * * MPL: * @@ -35,22 +34,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -75,6 +58,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __TSMUX_COMMON_H__ diff --git a/gst/mpegtsmux/tsmux/tsmuxstream.c b/gst/mpegtsmux/tsmux/tsmuxstream.c index d62dd34c6d..87ec8b7ed2 100644 --- a/gst/mpegtsmux/tsmux/tsmuxstream.c +++ b/gst/mpegtsmux/tsmux/tsmuxstream.c @@ -1,10 +1,9 @@ /* * Copyright 2006 BBC and Fluendo S.A. * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL, and the MIT license. * * MPL: * @@ -35,22 +34,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -75,6 +58,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifdef HAVE_CONFIG_H diff --git a/gst/mpegtsmux/tsmux/tsmuxstream.h b/gst/mpegtsmux/tsmux/tsmuxstream.h index 93f04671b2..7a9bd94f7c 100644 --- a/gst/mpegtsmux/tsmux/tsmuxstream.h +++ b/gst/mpegtsmux/tsmux/tsmuxstream.h @@ -1,10 +1,9 @@ /* * Copyright 2006 BBC and Fluendo S.A. * - * This library is licensed under 4 different licenses and you + * This library is licensed under 3 different licenses and you * can choose to use it under the terms of any one of them. The - * four licenses are the MPL 1.1, the LGPL, the GPL and the MIT - * license. + * three licenses are the MPL 1.1, the LGPL, and the MIT license. * * MPL: * @@ -35,22 +34,6 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. * - * GPL: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * * MIT: * * Unless otherwise indicated, Source Code is licensed under MIT license. @@ -75,6 +58,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * + * SPDX-License-Identifier: MPL-1.1 OR MIT OR LGPL-2.0-or-later */ #ifndef __TSMUXSTREAM_H__