From 9a4ae4b35cb0cffc3a196e1387ea381fdcfd89ae Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Thu, 9 Jan 2003 04:23:14 +0000 Subject: reset the time after seeking; clarify the copright field CVS patchset: 3843 CVS date: 2003/01/09 04:23:14 --- src/demuxers/demux_nsf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_nsf.c b/src/demuxers/demux_nsf.c index 3863edcdf..181556150 100644 --- a/src/demuxers/demux_nsf.c +++ b/src/demuxers/demux_nsf.c @@ -28,7 +28,7 @@ * For more information regarding the NSF format, visit: * http://www.tripoint.org/kevtris/nes/nsfspec.txt * - * $Id: demux_nsf.c,v 1.3 2003/01/08 06:59:48 tmmm Exp $ + * $Id: demux_nsf.c,v 1.4 2003/01/09 04:23:14 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -202,6 +202,7 @@ static void demux_nsf_send_headers(demux_plugin_t *this_gen) { demux_nsf_t *this = (demux_nsf_t *) this_gen; buf_element_t *buf; + char copyright[100]; this->video_fifo = this->stream->video_fifo; this->audio_fifo = this->stream->audio_fifo; @@ -220,7 +221,8 @@ static void demux_nsf_send_headers(demux_plugin_t *this_gen) { /* fill in title during send_chunk */ this->stream->meta_info[XINE_META_INFO_ARTIST] = strdup(this->artist); - this->stream->meta_info[XINE_META_INFO_COMMENT] = strdup(this->copyright); + sprintf(copyright, "(C) %s", this->copyright); + this->stream->meta_info[XINE_META_INFO_COMMENT] = strdup(copyright); /* send start buffers */ xine_demux_control_start(this->stream); @@ -269,6 +271,7 @@ static int demux_nsf_seek (demux_plugin_t *this_gen, } else { this->current_song = start_pos * this->total_songs / this->filesize + 1; this->new_song = 1; + this->current_pts = 0; xine_demux_flush_engine(this->stream); } -- cgit v1.2.3