mpegtsparse: Factor common code into mpegts_packet_to_buffer
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 10 Jan 2020 15:54:54 +0000 (17:54 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 29 Jan 2020 20:39:44 +0000 (20:39 +0000)
commite44cbfb1daf73347dabd66ab3813851d0ec0f86b
treecb2ddd5efa0a2c7ba328fbf18e2f8ee9256bfa58
parent68f69d419bee030b95155713f0aa7dd4c53887e9
mpegtsparse: Factor common code into mpegts_packet_to_buffer

The same code was used twice for turning an MpegTSPacketizerPacket into
a GstBuffer.
gst/mpegtsdemux/mpegtsparse.c