mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
mpegtsmux: Remove white space
This commit is contained in:
parent
69af8a9360
commit
00b2b599d6
17 changed files with 113 additions and 113 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -12,7 +12,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -61,17 +61,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -79,13 +79,13 @@
|
|||
* SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __BASETSMUX_AAC_H__
|
||||
#define __BASETSMUX_AAC_H__
|
||||
|
||||
|
||||
#include "gstbasetsmux.h"
|
||||
|
||||
GstBuffer * gst_base_ts_mux_prepare_aac (GstBuffer * buf, GstBaseTsMuxPad * pad,
|
||||
GstBaseTsMux * mux);
|
||||
|
||||
|
||||
#endif /* __BASETSMUX_AAC_H__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* GStreamer JPEG 2000 Parser
|
||||
*
|
||||
*
|
||||
* Copyright (C) <2016> Milos Seleceni
|
||||
* @author Milos Seleceni <milos.seleceni@comprimato.com>
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* GStreamer JPEG 2000 Parser
|
||||
*
|
||||
*
|
||||
* Copyright (C) <2016> Milos Seleceni
|
||||
* @author Milos Seleceni <milos.seleceni@comprimato.com>
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -79,13 +79,13 @@
|
|||
* SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __BASETSMUX_OPUS_H__
|
||||
#define __BASETSMUX_OPUS_H__
|
||||
|
||||
|
||||
#include "gstbasetsmux.h"
|
||||
|
||||
GstBuffer * gst_base_ts_mux_prepare_opus (GstBuffer * buf, GstBaseTsMuxPad * pad,
|
||||
GstBaseTsMux * mux);
|
||||
|
||||
|
||||
#endif /* __BASETSMUX_OPUS_H__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -79,13 +79,13 @@
|
|||
* SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __BASETSMUX_TTXT_H__
|
||||
#define __BASETSMUX_TTXT_H__
|
||||
|
||||
|
||||
#include "gstbasetsmux.h"
|
||||
|
||||
GstBuffer * gst_base_ts_mux_prepare_teletext (GstBuffer * buf, GstBaseTsMuxPad * pad,
|
||||
GstBaseTsMux * mux);
|
||||
|
||||
|
||||
#endif /* __BASETSMUX_TTXT_H__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -12,7 +12,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -61,17 +61,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006, 2007, 2008, 2009, 2010 Fluendo S.A.
|
||||
* Authors: Jan Schmidt <jan@fluendo.com>
|
||||
* Kapil Agrawal <kapil@fluendo.com>
|
||||
* Julien Moutte <julien@fluendo.com>
|
||||
|
@ -10,7 +10,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -59,17 +59,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
*
|
||||
* This library is licensed under 4 different licenses and you
|
||||
* can choose to use it under the terms of any one of them. The
|
||||
|
@ -7,7 +7,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -56,17 +56,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -90,8 +90,8 @@
|
|||
|
||||
#define GST_CAT_DEFAULT gst_base_ts_mux_debug
|
||||
|
||||
/* Maximum total data length for a PAT section is 1024 bytes, minus an
|
||||
* 8 byte header, then the length of each program entry is 32 bits,
|
||||
/* Maximum total data length for a PAT section is 1024 bytes, minus an
|
||||
* 8 byte header, then the length of each program entry is 32 bits,
|
||||
* then finally a 32 bit CRC. Thus the maximum number of programs in this mux
|
||||
* is (1024 - 8 - 4) / 4 = 253 because it only supports single section PATs */
|
||||
#define TSMUX_MAX_PROGRAMS 253
|
||||
|
@ -101,7 +101,7 @@
|
|||
#define TSMUX_DEFAULT_NETWORK_ID 0x0001
|
||||
#define TSMUX_DEFAULT_TS_ID 0x0001
|
||||
|
||||
/* HACK: We use a fixed buffering offset for the PCR at the moment -
|
||||
/* HACK: We use a fixed buffering offset for the PCR at the moment -
|
||||
* this is the amount 'in advance' of the stream that the PCR sits.
|
||||
* 1/8 second atm */
|
||||
#define TSMUX_PCR_OFFSET (TSMUX_CLOCK_FREQ / 8)
|
||||
|
@ -738,7 +738,7 @@ tsmux_write_adaptation_field (guint8 * buf,
|
|||
|
||||
g_assert (min_length <= TSMUX_PAYLOAD_LENGTH);
|
||||
|
||||
/* Write out all the fields from the packet info only if the
|
||||
/* Write out all the fields from the packet info only if the
|
||||
* user set the flag to request the adaptation field - if the flag
|
||||
* isn't set, we're just supposed to write stuffing bytes */
|
||||
if (pi->flags & TSMUX_PACKET_FLAG_ADAPTATION) {
|
||||
|
@ -837,7 +837,7 @@ tsmux_write_ts_header (TsMux * mux, guint8 * buf, TsMuxPacketInfo * pi,
|
|||
TS_DEBUG ("PID 0x%04x, counter = 0x%01x, %u bytes avail", pi->pid,
|
||||
mux->pid_packet_counts[pi->pid] & 0x0f, stream_avail);
|
||||
|
||||
/* 3 bits:
|
||||
/* 3 bits:
|
||||
* transport_error_indicator
|
||||
* payload_unit_start_indicator
|
||||
* transport_priority: (00)
|
||||
|
@ -898,7 +898,7 @@ tsmux_write_ts_header (TsMux * mux, guint8 * buf, TsMuxPacketInfo * pi,
|
|||
|
||||
adaptation_flag |= mux->pid_packet_counts[pi->pid] & 0x0f;
|
||||
|
||||
/* Write the byte of transport_scrambling_control, adaptation_field_control
|
||||
/* Write the byte of transport_scrambling_control, adaptation_field_control
|
||||
* + continuity counter out */
|
||||
buf[3] = adaptation_flag;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
*
|
||||
* This library is licensed under 4 different licenses and you
|
||||
* can choose to use it under the terms of any one of them. The
|
||||
|
@ -7,7 +7,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -56,17 +56,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
*
|
||||
* This library is licensed under 4 different licenses and you
|
||||
* can choose to use it under the terms of any one of them. The
|
||||
|
@ -7,7 +7,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -56,17 +56,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
*
|
||||
* This library is licensed under 4 different licenses and you
|
||||
* can choose to use it under the terms of any one of them. The
|
||||
|
@ -7,7 +7,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -56,17 +56,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -349,7 +349,7 @@ tsmux_stream_consume (TsMuxStream * stream, guint len)
|
|||
g_slice_free (TsMuxStreamBuffer, stream->cur_buffer);
|
||||
stream->cur_buffer = NULL;
|
||||
/* FIXME: As a hack, for unbounded streams, start a new PES packet for each
|
||||
* incoming packet we receive. This assumes that incoming data is
|
||||
* incoming packet we receive. This assumes that incoming data is
|
||||
* packetised sensibly - ie, every video frame */
|
||||
if (stream->cur_pes_payload_size == 0) {
|
||||
stream->state = TSMUX_STREAM_STATE_HEADER;
|
||||
|
@ -576,7 +576,7 @@ tsmux_stream_pes_header_length (TsMuxStream * stream)
|
|||
packet_len = 6;
|
||||
|
||||
if (stream->pi.flags & TSMUX_PACKET_FLAG_PES_FULL_HEADER) {
|
||||
/* For a PES 'full header' we have at least 3 more bytes,
|
||||
/* For a PES 'full header' we have at least 3 more bytes,
|
||||
* and then more based on flags */
|
||||
packet_len += 3;
|
||||
if (stream->pi.flags & TSMUX_PACKET_FLAG_PES_WRITE_PTS_DTS) {
|
||||
|
@ -585,7 +585,7 @@ tsmux_stream_pes_header_length (TsMuxStream * stream)
|
|||
packet_len += 5;
|
||||
}
|
||||
if (stream->pi.flags & TSMUX_PACKET_FLAG_PES_EXT_STREAMID) {
|
||||
/* Need basic extension flags (1 byte), plus 2 more bytes for the
|
||||
/* Need basic extension flags (1 byte), plus 2 more bytes for the
|
||||
* length + extended stream id */
|
||||
packet_len += 3;
|
||||
}
|
||||
|
@ -677,7 +677,7 @@ tsmux_stream_write_pes_header (TsMuxStream * stream, guint8 * data)
|
|||
flags |= 0x01; /* Enable PES_extension_flag */
|
||||
*data++ = flags;
|
||||
|
||||
/* Header length is the total pes length,
|
||||
/* Header length is the total pes length,
|
||||
* minus the 9 bytes of start codes, flags + hdr_len */
|
||||
g_return_if_fail (hdr_len >= 9);
|
||||
*data++ = (hdr_len - 9);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
/*
|
||||
* Copyright 2006 BBC and Fluendo S.A.
|
||||
*
|
||||
* This library is licensed under 4 different licenses and you
|
||||
* can choose to use it under the terms of any one of them. The
|
||||
|
@ -7,7 +7,7 @@
|
|||
* license.
|
||||
*
|
||||
* MPL:
|
||||
*
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
|
@ -56,17 +56,17 @@
|
|||
* Unless otherwise indicated, Source Code is licensed under MIT license.
|
||||
* See further explanation attached in License Statement (distributed in the file
|
||||
* LICENSE).
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
* of the Software, and to permit persons to whom the Software is furnished to do
|
||||
* so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -242,7 +242,7 @@ void tsmux_stream_free (TsMuxStream *stream);
|
|||
|
||||
guint16 tsmux_stream_get_pid (TsMuxStream *stream);
|
||||
|
||||
void tsmux_stream_set_buffer_release_func (TsMuxStream *stream,
|
||||
void tsmux_stream_set_buffer_release_func (TsMuxStream *stream,
|
||||
TsMuxStreamBufferReleaseFunc func);
|
||||
|
||||
void tsmux_stream_set_get_es_descriptors_func (TsMuxStream *stream,
|
||||
|
@ -251,7 +251,7 @@ void tsmux_stream_set_get_es_descriptors_func (TsMuxStream *stream,
|
|||
|
||||
/* Add a new buffer to the pool of available bytes. If pts or dts are not -1, they
|
||||
* indicate the PTS or DTS of the first access unit within this packet */
|
||||
void tsmux_stream_add_data (TsMuxStream *stream, guint8 *data, guint len,
|
||||
void tsmux_stream_add_data (TsMuxStream *stream, guint8 *data, guint len,
|
||||
void *user_data, gint64 pts, gint64 dts,
|
||||
gboolean random_access);
|
||||
|
||||
|
|
Loading…
Reference in a new issue