summaryrefslogtreecommitdiff
path: root/src/libspudec/xine_decoder.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-06-21 16:19:40 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-06-21 16:19:40 +0000
commitc8aee8fc354fd03dd1a84909b6cfa1db9e069dc2 (patch)
treebdb2855cc0d2bb934ea4a5a49bfb77fa0f194783 /src/libspudec/xine_decoder.c
parent6e320abf8b72c156a906dbc91e49027193874d9a (diff)
downloadxine-lib-c8aee8fc354fd03dd1a84909b6cfa1db9e069dc2.tar.gz
xine-lib-c8aee8fc354fd03dd1a84909b6cfa1db9e069dc2.tar.bz2
removing unused SPU_DVD_SUBTYPE_SUBP_CONTROL and the stream_filter stuff
in SPU decoders which is obsoleted by that removal CVS patchset: 6726 CVS date: 2004/06/21 16:19:40
Diffstat (limited to 'src/libspudec/xine_decoder.c')
-rw-r--r--src/libspudec/xine_decoder.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c
index 713271d44..5fa10b944 100644
--- a/src/libspudec/xine_decoder.c
+++ b/src/libspudec/xine_decoder.c
@@ -19,7 +19,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: xine_decoder.c,v 1.106 2004/04/09 15:01:47 mroi Exp $
+ * $Id: xine_decoder.c,v 1.107 2004/06/21 16:19:41 mroi Exp $
*
* stuff needed to turn libspu into a xine decoder plugin
*/
@@ -101,15 +101,6 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) {
return;
}
- if ( buf->decoder_info[2] == SPU_DVD_SUBTYPE_SUBP_CONTROL ) {
- /* FIXME: I don't think SUBP_CONTROL is used any more */
- int i;
- uint32_t *subp_control = (uint32_t*) buf->content;
- for (i = 0; i < 32; i++) {
- this->spudec_stream_state[i].stream_filter = subp_control[i];
- }
- return;
- }
if ( buf->decoder_info[2] == SPU_DVD_SUBTYPE_NAV ) {
#ifdef LOG_DEBUG
printf("libspudec:got nav packet 1\n");
@@ -129,9 +120,6 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) {
if (buf->decoder_flags & BUF_FLAG_PREVIEW) /* skip preview data */
return;
- if ( this->spudec_stream_state[stream_id].stream_filter == 0)
- return;
-
if (buf->pts) {
metronom_t *metronom = this->stream->metronom;
int64_t vpts = metronom->got_spu_packet(metronom, buf->pts);
@@ -343,7 +331,6 @@ static spu_decoder_t *open_plugin (spu_decoder_class_t *class_gen, xine_stream_t
this->output_open = 0;
this->last_event_vpts = 0;
for (i=0; i < MAX_STREAMS; i++) {
- this->spudec_stream_state[i].stream_filter = 1; /* So it works with non-navdvd plugins */
this->spudec_stream_state[i].ra_seq.complete = 1;
this->spudec_stream_state[i].overlay_handle = -1;
}