diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-01-09 04:23:14 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-01-09 04:23:14 +0000 |
commit | 9a4ae4b35cb0cffc3a196e1387ea381fdcfd89ae (patch) | |
tree | 4ac5d8056fc84b3a1c9d20b728abcf8e8ef4b228 /src | |
parent | 8dcbe362a2a46dbaec33f7d301e1b903d4c0c96f (diff) | |
download | xine-lib-9a4ae4b35cb0cffc3a196e1387ea381fdcfd89ae.tar.gz xine-lib-9a4ae4b35cb0cffc3a196e1387ea381fdcfd89ae.tar.bz2 |
reset the time after seeking; clarify the copright field
CVS patchset: 3843
CVS date: 2003/01/09 04:23:14
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_nsf.c | 7 |
1 files changed, 5 insertions, 2 deletions
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); } |