[vlc-commits] demux: ts: fix copy/paste, missing codec after probing

Francois Cartegnie git at videolan.org
Fri Aug 28 14:15:10 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug 28 14:14:03 2015 +0200| [4a7f60c833bb932dc005f273ba1d1cc759754d3f] | committer: Francois Cartegnie

demux: ts: fix copy/paste, missing codec after probing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a7f60c833bb932dc005f273ba1d1cc759754d3f
---

 modules/demux/mpeg/ts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 37c9d5b..a3f02e1 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -935,7 +935,7 @@ static void MissingPATPMTFixup( demux_t *p_demux )
                 p_pid->probed.i_type == -1 )
                 continue;
 
-            esstreams[j].pes.i_stream_type = p_pid->probed.i_type;
+            esstreams[j].pes.i_codec = p_pid->probed.i_fourcc;
             esstreams[j].pes.i_stream_type = p_pid->probed.i_type;
             esstreams[j].ts.i_pid = p_pid->i_pid;
             mapped[j].pes = &esstreams[j].pes;



More information about the vlc-commits mailing list