summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg_pes.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-16 23:33:42 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-16 23:33:42 +0000
commit847f0e85e8b0c8135294258a9507fba03cc1cc30 (patch)
tree0a74838023ea90c3bb53c7c4f737bab5dc84e427 /src/demuxers/demux_mpeg_pes.c
parentb88ff04361ced758928d2ad8b87cb8986d044a35 (diff)
downloadxine-lib-847f0e85e8b0c8135294258a9507fba03cc1cc30.tar.gz
xine-lib-847f0e85e8b0c8135294258a9507fba03cc1cc30.tar.bz2
New stream/meta info (safe) stuff.
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
Diffstat (limited to 'src/demuxers/demux_mpeg_pes.c')
-rw-r--r--src/demuxers/demux_mpeg_pes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c
index c2025213f..51706a7fe 100644
--- a/src/demuxers/demux_mpeg_pes.c
+++ b/src/demuxers/demux_mpeg_pes.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpeg_pes.c,v 1.16 2003/11/16 15:31:51 mroi Exp $
+ * $Id: demux_mpeg_pes.c,v 1.17 2003/11/16 23:33:43 f1rmb Exp $
*
* demultiplexer for mpeg 2 PES (Packetized Elementary Streams)
* reads streams of variable blocksizes
@@ -1233,9 +1233,9 @@ static void demux_mpeg_pes_send_headers (demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_BITRATE, this->rate * 50 * 8);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_BITRATE, this->rate * 50 * 8);
}