Commit 89ee60c1 authored by Laurent Aimar's avatar Laurent Aimar

* modules/mux/mpeg/*: should fix builtin compilation

 * modules/access/ftp.c : an ftp access, buggy but it begins to work.
The main issue is about password confidentiality so you must know
what you are doing :((
parent 4c0de20e
...@@ -9,8 +9,13 @@ ...@@ -9,8 +9,13 @@
N: Laurent Aimar N: Laurent Aimar
E: fenrir@via.ecp.fr E: fenrir@via.ecp.fr
C: fenrir C: fenrir
D: AVI demultiplexer D: avi, asf/wmv/wma, mp4/mov, mp3, aac, wav demultiplexers
D: MPEG-4, Div & OpenDivX decoder (ffmpeg) D: MPEG-4, Div & OpenDivX and various decoders (ffmpeg)
D: AAC decoder (libfaad2)
D: cinepak, adpcm, araw decoders
D: Subtile file parser.
D: mms, ftp access
D: Stream output
S: France S: France
N: Marc Ariberti N: Marc Ariberti
...@@ -369,6 +374,7 @@ N: Eric Petit ...@@ -369,6 +374,7 @@ N: Eric Petit
E: titer@videolan.org E: titer@videolan.org
C: titer C: titer
D: BeOS module fixes and enhancements D: BeOS module fixes and enhancements
D: Stream output
S: France S: France
N: Olivier Pomel N: Olivier Pomel
......
...@@ -135,6 +135,7 @@ case "x${target_os}" in ...@@ -135,6 +135,7 @@ case "x${target_os}" in
LDFLAGS_access_mms="${LDFLAGS_access_mms} -lws2_32" LDFLAGS_access_mms="${LDFLAGS_access_mms} -lws2_32"
LDFLAGS_access_rtp="${LDFLAGS_access_rtp} -lws2_32" LDFLAGS_access_rtp="${LDFLAGS_access_rtp} -lws2_32"
LDFLAGS_access_udp="${LDFLAGS_access_udp} -lws2_32" LDFLAGS_access_udp="${LDFLAGS_access_udp} -lws2_32"
LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lws2_32"
LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32" LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32"
LDFLAGS_rc="${LDFLAGS_rc} -lws2_32" LDFLAGS_rc="${LDFLAGS_rc} -lws2_32"
LDFLAGS_sap="${LDFLAGS_sap} -lws2_32" LDFLAGS_sap="${LDFLAGS_sap} -lws2_32"
...@@ -273,6 +274,7 @@ AC_CHECK_FUNC(send,,[ ...@@ -273,6 +274,7 @@ AC_CHECK_FUNC(send,,[
LDFLAGS_access_mms="${LDFLAGS_access_mms} -lsocket" LDFLAGS_access_mms="${LDFLAGS_access_mms} -lsocket"
LDFLAGS_access_rtp="${LDFLAGS_access_rtp} -lsocket" LDFLAGS_access_rtp="${LDFLAGS_access_rtp} -lsocket"
LDFLAGS_access_udp="${LDFLAGS_access_udp} -lsocket" LDFLAGS_access_udp="${LDFLAGS_access_udp} -lsocket"
LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lsocket"
LDFLAGS_sap="${LDFLAGS_sap} -lsocket" LDFLAGS_sap="${LDFLAGS_sap} -lsocket"
LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lsocket" LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lsocket"
)]) )])
...@@ -697,7 +699,7 @@ PLUGINS="${PLUGINS} aout_file" ...@@ -697,7 +699,7 @@ PLUGINS="${PLUGINS} aout_file"
PLUGINS="${PLUGINS} i420_rgb i420_yuy2 i422_yuy2 i420_ymga" PLUGINS="${PLUGINS} i420_rgb i420_yuy2 i422_yuy2 i420_ymga"
PLUGINS="${PLUGINS} id3 m3u" PLUGINS="${PLUGINS} id3 m3u"
PLUGINS="${PLUGINS} wav araw demuxdump demuxsub adpcm" PLUGINS="${PLUGINS} wav araw demuxdump demuxsub adpcm"
PLUGINS="${PLUGINS} access_udp access_http access_rtp ipv4 access_mms sap" PLUGINS="${PLUGINS} access_udp access_http access_rtp ipv4 access_mms sap access_ftp"
dnl dnl
dnl Accelerated modules dnl Accelerated modules
......
...@@ -2,3 +2,4 @@ SOURCES_access_file = modules/access/file.c ...@@ -2,3 +2,4 @@ SOURCES_access_file = modules/access/file.c
SOURCES_access_udp = modules/access/udp.c SOURCES_access_udp = modules/access/udp.c
SOURCES_access_http = modules/access/http.c SOURCES_access_http = modules/access/http.c
SOURCES_access_rtp = modules/access/rtp.c SOURCES_access_rtp = modules/access/rtp.c
SOURCES_access_ftp = modules/access/ftp.c
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pes.c * pes.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: pes.c,v 1.1 2002/12/14 21:32:41 fenrir Exp $ * $Id: pes.c,v 1.2 2002/12/15 23:39:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
#include "pes.h" #include "pes.h"
#include "bits.h" #include "bits.h"
int EStoPES( sout_instance_t *p_sout, int E_( EStoPES )( sout_instance_t *p_sout,
sout_buffer_t **pp_pes, sout_buffer_t **pp_pes,
sout_buffer_t *p_es, sout_buffer_t *p_es,
int i_stream_id, int i_stream_id,
int b_mpeg2 ) int b_mpeg2 )
{ {
sout_buffer_t *p_pes; sout_buffer_t *p_pes;
bits_buffer_t bits; bits_buffer_t bits;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pes.h * pes.h
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: pes.h,v 1.1 2002/12/14 21:32:41 fenrir Exp $ * $Id: pes.h,v 1.2 2002/12/15 23:39:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -33,6 +33,6 @@ ...@@ -33,6 +33,6 @@
#define PES_ITU_T_H222_1_TYPE_E_STREAM 0xf8 #define PES_ITU_T_H222_1_TYPE_E_STREAM 0xf8
int EStoPES( sout_instance_t *p_sout, int E_( EStoPES )( sout_instance_t *p_sout,
sout_buffer_t **pp_pes, sout_buffer_t *p_es, sout_buffer_t **pp_pes, sout_buffer_t *p_es,
int i_stream_id, int b_mpeg2 ); int i_stream_id, int b_mpeg2 );
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ps.c * ps.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: ps.c,v 1.1 2002/12/14 21:32:41 fenrir Exp $ * $Id: ps.c,v 1.2 2002/12/15 23:39:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -350,7 +350,7 @@ static int Mux ( sout_instance_t *p_sout ) ...@@ -350,7 +350,7 @@ static int Mux ( sout_instance_t *p_sout )
} }
p_data = sout_FifoGet( p_fifo ); p_data = sout_FifoGet( p_fifo );
EStoPES( p_sout, &p_data, p_data, p_stream->i_stream_id, 1); E_( EStoPES )( p_sout, &p_data, p_data, p_stream->i_stream_id, 1);
p_sout->pf_write( p_sout, p_data ); p_sout->pf_write( p_sout, p_data );
p_mux->i_pes_count++; p_mux->i_pes_count++;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ts.c * ts.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: ts.c,v 1.1 2002/12/14 21:32:41 fenrir Exp $ * $Id: ts.c,v 1.2 2002/12/15 23:39:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -566,7 +566,7 @@ static int Mux( sout_instance_t *p_sout ) ...@@ -566,7 +566,7 @@ static int Mux( sout_instance_t *p_sout )
i_dts = p_data->i_dts; i_dts = p_data->i_dts;
i_length = p_data->i_length; i_length = p_data->i_length;
EStoPES( p_sout, &p_data, p_data, p_stream->i_stream_id, 1); E_( EStoPES )( p_sout, &p_data, p_data, p_stream->i_stream_id, 1);
PEStoTS( p_sout, &p_data, p_data, p_stream ); PEStoTS( p_sout, &p_data, p_data, p_stream );
if( p_mux->i_ts_packet % 30 == 0 ) if( p_mux->i_ts_packet % 30 == 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment