summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_rawdv.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_rawdv.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_rawdv.c')
-rw-r--r--src/demuxers/demux_rawdv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c
index 5203c45ce..cee1b5c36 100644
--- a/src/demuxers/demux_rawdv.c
+++ b/src/demuxers/demux_rawdv.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_rawdv.c,v 1.15 2003/11/15 20:43:11 mroi Exp $
+ * $Id: demux_rawdv.c,v 1.16 2003/11/16 23:33:43 f1rmb Exp $
*
* demultiplexer for raw dv streams
*/
@@ -188,7 +188,7 @@ static void demux_raw_dv_send_headers (demux_plugin_t *this_gen) {
this->duration = buf->decoder_info[1] = 3003;
bih->biWidth = 720;
bih->biHeight = 480;
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_VIDEO_BITRATE,
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_BITRATE,
NTSC_FRAME_SIZE * NTSC_FRAME_RATE * 8);
} else {
/* PAL */
@@ -196,7 +196,7 @@ static void demux_raw_dv_send_headers (demux_plugin_t *this_gen) {
this->duration = buf->decoder_info[1] = 3600;
bih->biWidth = 720;
bih->biHeight = 576;
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_VIDEO_BITRATE,
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_BITRATE,
PAL_FRAME_SIZE * PAL_FRAME_RATE * 8);
}
bih->biSize = sizeof(xine_bmiheader);
@@ -213,7 +213,7 @@ static void demux_raw_dv_send_headers (demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1);
if (this->audio_fifo) {
int done = 0;
@@ -277,7 +277,7 @@ static void demux_raw_dv_send_headers (demux_plugin_t *this_gen) {
abuf->decoder_info[2] = 16; /* Audio bits (ffmpeg upsamples 12 to 16bit) */
abuf->decoder_info[3] = 2; /* Audio bits (ffmpeg only supports 2 channels) */
this->audio_fifo->put (this->audio_fifo, abuf);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
}
}