summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-07-16 16:19:58 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-07-16 16:19:58 +0000
commit781eaab656f1b481ea4cb4d5cf39d1e71c6216f2 (patch)
tree3f214b61b43965b5871d3ac0f3ac693872c148e1
parent79d7368bbffefde02bc0a45443a749fc95c6d11c (diff)
downloadxine-lib-781eaab656f1b481ea4cb4d5cf39d1e71c6216f2.tar.gz
xine-lib-781eaab656f1b481ea4cb4d5cf39d1e71c6216f2.tar.bz2
remove deprecated events
CVS patchset: 2290 CVS date: 2002/07/16 16:19:58
-rw-r--r--src/dxr3/dxr3_decode_spu.c38
1 files changed, 1 insertions, 37 deletions
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c
index 4140713c7..71bf0c7bc 100644
--- a/src/dxr3/dxr3_decode_spu.c
+++ b/src/dxr3/dxr3_decode_spu.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: dxr3_decode_spu.c,v 1.11 2002/07/10 14:09:55 mroi Exp $
+ * $Id: dxr3_decode_spu.c,v 1.12 2002/07/16 16:19:58 mroi Exp $
*/
/* dxr3 spu decoder plugin.
@@ -461,42 +461,6 @@ static void dxr3_spudec_event_listener(void *this_gen, xine_event_t *event_gen)
printf("dxr3_decode_spu: aspect changed to %d\n", this->aspect);
#endif
break;
-#if 0
- case XINE_EVENT_ASPECT_CHANGE:
- switch (((xine_aspect_ratio_event_t *)event)->ratio_code) {
- case ASPECT_FULL:
- this->aspect = XINE_ASPECT_RATIO_4_3;
-#if LOG_BTN
- printf("dxr3_decode_spu: aspect changed to %d\n", this->aspect);
-#endif
- break;
- case ASPECT_ANAMORPHIC:
- this->aspect = XINE_ASPECT_RATIO_ANAMORPHIC;
-#if LOG_BTN
- printf("dxr3_decode_spu: aspect changed to %d\n", this->aspect);
-#endif
- break;
- }
- if ((((xine_aspect_ratio_event_t *)event)->scale_permission == 1) != this->pan_scan) {
- this->pan_scan = !this->pan_scan;
- this->xine->video_driver->set_property(this->xine->video_driver,
- VO_PROP_ZOOM_FACTOR, this->pan_scan ? 1 : -1);
- }
- break;
-#endif
-#if 0
- /* FIXME: I think this event is not necessary any more
- * We know from nav packet decoding, if we are in a menu. */
- case XINE_EVENT_SPU_FORCEDISPLAY:
- {
- this->menu = (int)event->data;
-#if LOG_SPU
- printf("dxr3_decode_spu: got SPU_FORCEDISPLAY, force display is %s\n",
- this->menu ? "on" : "off");
-#endif
- }
- break;
-#endif
}
}