More test plugins and nicer scrolling effect

This commit is contained in:
Xavi Artigas 2012-09-04 16:54:11 +02:00
parent 77c4117da5
commit 1947de8006
2 changed files with 3 additions and 1 deletions

View file

@ -22,7 +22,7 @@ LOCAL_LDLIBS := -L./ -lgstreamer_android
LOCAL_CFLAGS := $(shell pkg-config gstreamer-0.10 --cflags)
include $(BUILD_SHARED_LIBRARY)
GSTREAMER_PLUGINS = vorbis coreelements audiotestsrc videotestsrc ogg theora
GSTREAMER_PLUGINS = coreelements audiotestsrc videotestsrc ogg theora vorbis ffmpegcolorspace playback
GSTREAMER_STATIC_PLUGINS_PATH=/home/fluendo/cerbero/dist/android_arm/lib/gstreamer-0.10/static
GSTREAMER_MK_PATH=/home/fluendo/cerbero/data/ndk-build/
include $(GSTREAMER_MK_PATH)/gstreamer.mk

View file

@ -36,6 +36,8 @@ public class Tutorial1 extends Activity
*/
TextView tv = new TextView(this);
tv.setMovementMethod(new ScrollingMovementMethod());
tv.setClickable (false);
tv.setLongClickable (false);
tv.setText( gstVersion() );
setContentView(tv);
}