From c715d0760e6f378009d65ec1650af05ec33f2194 Mon Sep 17 00:00:00 2001 From: Younghwan Ahn Date: Wed, 22 Aug 2012 21:38:30 +0900 Subject: [PATCH] 2.0 beta init --- Makefile.am | 2 +- TC/build.sh | 32 - TC/execute.sh | 32 - TC/making_new_tet_scen.py | 69 - TC/tet_scen | 29 - TC/tetbuild.cfg | 7 - TC/tetclean.cfg | 6 - TC/tetexec.cfg | 6 - TC/utc/Makefile | 131 - TC/utc/test_data/legend.sub | 2986 ----------------- TC/utc/tslist | 24 - ...c_mm_player_activate_section_repeat_func.c | 133 - ...c_mm_player_activate_section_repeat_func.h | 41 - TC/utc/utc_mm_player_common.c | 37 - TC/utc/utc_mm_player_common.h | 104 - TC/utc/utc_mm_player_create_func.c | 69 - TC/utc/utc_mm_player_create_func.h | 34 - ...mm_player_deactivate_section_repeat_func.c | 155 - ...mm_player_deactivate_section_repeat_func.h | 33 - TC/utc/utc_mm_player_destroy_func.c | 77 - TC/utc/utc_mm_player_destroy_func.h | 34 - TC/utc/utc_mm_player_get_attribute_func.c | 91 - TC/utc/utc_mm_player_get_attribute_func.h | 33 - .../utc_mm_player_get_attribute_info_func.c | 83 - .../utc_mm_player_get_attribute_info_func.h | 32 - TC/utc/utc_mm_player_get_mute_func.c | 96 - TC/utc/utc_mm_player_get_mute_func.h | 36 - TC/utc/utc_mm_player_get_position_func.c | 173 - TC/utc/utc_mm_player_get_position_func.h | 38 - TC/utc/utc_mm_player_get_state_func.c | 95 - TC/utc/utc_mm_player_get_state_func.h | 37 - .../utc_mm_player_get_subtitle_silent_func.c | 98 - .../utc_mm_player_get_subtitle_silent_func.h | 36 - TC/utc/utc_mm_player_get_volume_func.c | 102 - TC/utc/utc_mm_player_get_volume_func.h | 37 - TC/utc/utc_mm_player_pause_func.c | 149 - TC/utc/utc_mm_player_pause_func.h | 37 - TC/utc/utc_mm_player_realize_func.c | 85 - TC/utc/utc_mm_player_realize_func.h | 36 - TC/utc/utc_mm_player_resume_func.c | 149 - TC/utc/utc_mm_player_resume_func.h | 36 - TC/utc/utc_mm_player_set_attribute_func.c | 88 - TC/utc/utc_mm_player_set_attribute_func.h | 37 - ...mm_player_set_audio_stream_callback_func.c | 112 - ...mm_player_set_audio_stream_callback_func.h | 37 - .../utc_mm_player_set_message_callback_func.c | 122 - .../utc_mm_player_set_message_callback_func.h | 37 - TC/utc/utc_mm_player_set_mute_func.c | 144 - TC/utc/utc_mm_player_set_mute_func.h | 37 - TC/utc/utc_mm_player_set_position_func.c | 144 - TC/utc/utc_mm_player_set_position_func.h | 36 - .../utc_mm_player_set_subtitle_silent_func.c | 103 - .../utc_mm_player_set_subtitle_silent_func.h | 36 - TC/utc/utc_mm_player_set_volume_func.c | 148 - TC/utc/utc_mm_player_set_volume_func.h | 37 - TC/utc/utc_mm_player_start_func.c | 93 - TC/utc/utc_mm_player_start_func.h | 34 - TC/utc/utc_mm_player_stop_func.c | 138 - TC/utc/utc_mm_player_stop_func.h | 37 - TC/utc/utc_mm_player_unrealize_func.c | 95 - TC/utc/utc_mm_player_unrealize_func.h | 34 - configure.ac | 33 - debian/changelog | 2870 ---------------- debian/compat | 1 - debian/control | 34 - debian/copyright | 13 - debian/dirs | 2 - debian/docs | 0 debian/libmm-player-dev.install.in | 4 - debian/libmm-player-internal-dev.install.in | 2 - debian/libmm-player.install.in | 3 - debian/rules | 134 - packaging/libmm-player.spec | 17 +- test/Makefile.am | 48 - test/mm_player_testsuite.c | 2361 ------------- 75 files changed, 5 insertions(+), 12586 deletions(-) delete mode 100755 TC/build.sh delete mode 100755 TC/execute.sh delete mode 100755 TC/making_new_tet_scen.py delete mode 100755 TC/tet_scen delete mode 100755 TC/tetbuild.cfg delete mode 100755 TC/tetclean.cfg delete mode 100755 TC/tetexec.cfg delete mode 100755 TC/utc/Makefile delete mode 100755 TC/utc/test_data/legend.sub delete mode 100755 TC/utc/tslist delete mode 100755 TC/utc/utc_mm_player_activate_section_repeat_func.c delete mode 100755 TC/utc/utc_mm_player_activate_section_repeat_func.h delete mode 100755 TC/utc/utc_mm_player_common.c delete mode 100755 TC/utc/utc_mm_player_common.h delete mode 100755 TC/utc/utc_mm_player_create_func.c delete mode 100755 TC/utc/utc_mm_player_create_func.h delete mode 100755 TC/utc/utc_mm_player_deactivate_section_repeat_func.c delete mode 100755 TC/utc/utc_mm_player_deactivate_section_repeat_func.h delete mode 100755 TC/utc/utc_mm_player_destroy_func.c delete mode 100755 TC/utc/utc_mm_player_destroy_func.h delete mode 100755 TC/utc/utc_mm_player_get_attribute_func.c delete mode 100755 TC/utc/utc_mm_player_get_attribute_func.h delete mode 100755 TC/utc/utc_mm_player_get_attribute_info_func.c delete mode 100755 TC/utc/utc_mm_player_get_attribute_info_func.h delete mode 100755 TC/utc/utc_mm_player_get_mute_func.c delete mode 100755 TC/utc/utc_mm_player_get_mute_func.h delete mode 100755 TC/utc/utc_mm_player_get_position_func.c delete mode 100755 TC/utc/utc_mm_player_get_position_func.h delete mode 100755 TC/utc/utc_mm_player_get_state_func.c delete mode 100755 TC/utc/utc_mm_player_get_state_func.h delete mode 100755 TC/utc/utc_mm_player_get_subtitle_silent_func.c delete mode 100755 TC/utc/utc_mm_player_get_subtitle_silent_func.h delete mode 100755 TC/utc/utc_mm_player_get_volume_func.c delete mode 100755 TC/utc/utc_mm_player_get_volume_func.h delete mode 100755 TC/utc/utc_mm_player_pause_func.c delete mode 100755 TC/utc/utc_mm_player_pause_func.h delete mode 100755 TC/utc/utc_mm_player_realize_func.c delete mode 100755 TC/utc/utc_mm_player_realize_func.h delete mode 100755 TC/utc/utc_mm_player_resume_func.c delete mode 100755 TC/utc/utc_mm_player_resume_func.h delete mode 100755 TC/utc/utc_mm_player_set_attribute_func.c delete mode 100755 TC/utc/utc_mm_player_set_attribute_func.h delete mode 100755 TC/utc/utc_mm_player_set_audio_stream_callback_func.c delete mode 100755 TC/utc/utc_mm_player_set_audio_stream_callback_func.h delete mode 100755 TC/utc/utc_mm_player_set_message_callback_func.c delete mode 100755 TC/utc/utc_mm_player_set_message_callback_func.h delete mode 100755 TC/utc/utc_mm_player_set_mute_func.c delete mode 100755 TC/utc/utc_mm_player_set_mute_func.h delete mode 100755 TC/utc/utc_mm_player_set_position_func.c delete mode 100755 TC/utc/utc_mm_player_set_position_func.h delete mode 100755 TC/utc/utc_mm_player_set_subtitle_silent_func.c delete mode 100755 TC/utc/utc_mm_player_set_subtitle_silent_func.h delete mode 100755 TC/utc/utc_mm_player_set_volume_func.c delete mode 100755 TC/utc/utc_mm_player_set_volume_func.h delete mode 100755 TC/utc/utc_mm_player_start_func.c delete mode 100755 TC/utc/utc_mm_player_start_func.h delete mode 100755 TC/utc/utc_mm_player_stop_func.c delete mode 100755 TC/utc/utc_mm_player_stop_func.h delete mode 100755 TC/utc/utc_mm_player_unrealize_func.c delete mode 100755 TC/utc/utc_mm_player_unrealize_func.h delete mode 100755 debian/changelog delete mode 100644 debian/compat delete mode 100755 debian/control delete mode 100755 debian/copyright delete mode 100644 debian/dirs delete mode 100644 debian/docs delete mode 100755 debian/libmm-player-dev.install.in delete mode 100755 debian/libmm-player-internal-dev.install.in delete mode 100755 debian/libmm-player.install.in delete mode 100755 debian/rules delete mode 100755 test/Makefile.am delete mode 100755 test/mm_player_testsuite.c diff --git a/Makefile.am b/Makefile.am index ab0c178..4234d3f 100755 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ ACLOCAL_AMFLAGS='-I m4' -SUBDIRS = src test +SUBDIRS = src pcfiles = mm-player.pc pkgconfigdir = $(libdir)/pkgconfig diff --git a/TC/build.sh b/TC/build.sh deleted file mode 100755 index 1276482..0000000 --- a/TC/build.sh +++ /dev/null @@ -1,32 +0,0 @@ -#./_export_env.sh # setting environment variables -#!/bin/sh -export ARCH=target -export TET_INSTALL_PATH=/scratchbox/TETware/ -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH - -export TET_ROOT=$TET_TARGET_PATH - -set $(pwd) -export TET_SUITE_ROOT=$1 - -set $(date +%s) -FILE_NAME_EXTENSION=$1 - -echo PATH=$PATH -echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH -echo TET_ROOT=$TET_ROOT -echo TET_SUITE_ROOT=$TET_SUITE_ROOT -echo ARCH=$ARCH - -RESULT_DIR=results-$ARCH -HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir $RESULT_DIR - -tcc -c -p ./ # executing tcc, with clean option (-c) -tcc -b -j $JOURNAL_RESULT -p ./ # executing tcc to build test cases (-b) -grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT # reporting the result - diff --git a/TC/execute.sh b/TC/execute.sh deleted file mode 100755 index 8e414df..0000000 --- a/TC/execute.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -export ARCH=target - -export TET_INSTALL_PATH=/mnt/nfs/TETware # path to mount -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH - -export TET_ROOT=$TET_TARGET_PATH - -set $(pwd) -export TET_SUITE_ROOT=$1 - -set $(date +%s) -FILE_NAME_EXTENSION=$1 - -echo PATH=$PATH -echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH -echo TET_ROOT=$TET_ROOT -echo TET_SUITE_ROOT=$TET_SUITE_ROOT -echo ARCH=$ARCH - -RESULT_DIR=results-$ARCH -HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir $RESULT_DIR - -tcc -e -j $JOURNAL_RESULT -p ./ -grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT # reporting the result - diff --git a/TC/making_new_tet_scen.py b/TC/making_new_tet_scen.py deleted file mode 100755 index 6c5b845..0000000 --- a/TC/making_new_tet_scen.py +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/python - -############################################# -# tet_scen auto generator -# -# ** argv[1] = TC root -############################################# - -import sys,string,os - - -write_file = open("tet_scen", 'w') - -# -# making new tet_scen -# -def making_tet_scen (filename): - #tmp_list = filename.strip().split('/') - n_filename = filename.replace(' ', '\\ ') - #print n_filename - #new_path = "/"+ sys.argv[1] +"/"+n_filename[2:-6] - new_path = "/"+n_filename[:-6] - #print new_path - file = open(filename, 'r') - lines = file.readlines() - for line in lines: - if len(line.strip()) > 1: - list = line.strip().split('/') - #print new_path + list[-1] - write_file.write("\t"+new_path+list[-1]+"\n") - -# -# usage() -# -def usage(): - print(" ") - print("./making_new_tet_scen.py tc_root") - print("Put the Test Case's root directory.") - print("Do not include '/' at the end") - print(" ") - -# -# main() -# -def main(): - if len(sys.argv) < 2: - usage() - sys.exit(0) - - os.system('find '+ sys.argv[1] +' -name "tslist" > tslist.txt') - - #write_file = open("tetscen", w) - write_file.write("# auto generated tet_scen\n") - write_file.write("all\n") - write_file.write("\t\"Starting Full Test Suite\"\n") - - for file in open("tslist.txt", 'r'): - #print file.strip() - making_tet_scen(file.strip()) - - write_file.write("\t\"Completed Full Test Suite\"\n") - write_file.write("# EOF\n") - write_file.close() - print(" ") - print("==============================") - print("New tet_scen file is made~~~~") - print("==============================") - print(" ") -main() diff --git a/TC/tet_scen b/TC/tet_scen deleted file mode 100755 index 9bf095e..0000000 --- a/TC/tet_scen +++ /dev/null @@ -1,29 +0,0 @@ -# auto generated tet_scen -all - "Starting Full Test Suite" - /utc/utc_mm_player_create_func - /utc/utc_mm_player_destroy_func - /utc/utc_mm_player_realize_func - /utc/utc_mm_player_unrealize_func - /utc/utc_mm_player_start_func - /utc/utc_mm_player_stop_func - /utc/utc_mm_player_pause_func - /utc/utc_mm_player_resume_func - /utc/utc_mm_player_set_volume_func - /utc/utc_mm_player_get_volume_func - /utc/utc_mm_player_set_position_func - /utc/utc_mm_player_get_position_func - /utc/utc_mm_player_set_mute_func - /utc/utc_mm_player_get_mute_func - /utc/utc_mm_player_activate_section_repeat_func - /utc/utc_mm_player_deactivate_section_repeat_func - /utc/utc_mm_player_set_subtitle_silent_func - /utc/utc_mm_player_get_subtitle_silent_func - /utc/utc_mm_player_get_state_func - /utc/utc_mm_player_set_message_callback_func - /utc/utc_mm_player_set_audio_stream_callback_func - /utc/utc_mm_player_get_attribute_func - /utc/utc_mm_player_get_attribute_info_func - /utc/utc_mm_player_set_attribute_func - "Completed Full Test Suite" -# EOF diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg deleted file mode 100755 index addcce9..0000000 --- a/TC/tetbuild.cfg +++ /dev/null @@ -1,7 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option for build operation checking -TET_BUILD_TOOL=make # build with using make command -TET_BUILD_FILE=-f Makefile # execution file (Makefile) for build -TET_API_COMPLIANT=True # use TET API in Test Case ? -TET_PASS_TC_NAME=True # report passed TC name in Journal file? - - diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg deleted file mode 100755 index 00d58d5..0000000 --- a/TC/tetclean.cfg +++ /dev/null @@ -1,6 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option -TET_CLEAN_TOOL= make clean # clean tool -TET_CLEAN_FILE= Makefile # file for clean -TET_API_COMPLIANT=True # TET API useage -TET_PASS_TC_NAME=True # showing name , passed TC - diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg deleted file mode 100755 index e726ecc..0000000 --- a/TC/tetexec.cfg +++ /dev/null @@ -1,6 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capturing execution or not -TET_EXEC_TOOL= # ex) exec : execution tool set up/ Optional -TET_EXEC_FILE= # ex) exectool : execution file/ Optional -TET_API_COMPLIANT=True # Test case or Tool usesTET API? -TET_PASS_TC_NAME=True # showing Passed TC name ? - diff --git a/TC/utc/Makefile b/TC/utc/Makefile deleted file mode 100755 index ca3ceed..0000000 --- a/TC/utc/Makefile +++ /dev/null @@ -1,131 +0,0 @@ -ifeq ($(ARCH),target) - PKG_CONFIG_PATH=/usr/lib/pkgconfig - export PKG_CONFIG_PATH - CC=arm-linux-gcc -Wall - CXX=arm-linux-g++ -Wall -else - PKG_CONFIG_PATH=/usr/lib/pkgconfig - export PKG_CONFIG_PATH - CC=gcc -Wall - CXX=gcc -Wall -endif - -TS1=utc_mm_player_create_func -TS2=utc_mm_player_destroy_func -TS3=utc_mm_player_realize_func -TS4=utc_mm_player_unrealize_func -TS5=utc_mm_player_start_func -TS6=utc_mm_player_stop_func -TS7=utc_mm_player_pause_func -TS8=utc_mm_player_resume_func -TS9=utc_mm_player_set_volume_func -TS10=utc_mm_player_get_volume_func -TS11=utc_mm_player_set_position_func -TS12=utc_mm_player_get_position_func -TS13=utc_mm_player_set_mute_func -TS14=utc_mm_player_get_mute_func -TS15=utc_mm_player_activate_section_repeat_func -TS16=utc_mm_player_deactivate_section_repeat_func -TS17=utc_mm_player_set_subtitle_silent_func -TS18=utc_mm_player_get_subtitle_silent_func -TS19=utc_mm_player_get_state_func -TS20=utc_mm_player_set_message_callback_func -TS21=utc_mm_player_set_audio_stream_callback_func -TS22=utc_mm_player_set_attribute_func -TS23=utc_mm_player_get_attribute_func -TS24=utc_mm_player_get_attribute_info_func -TS25=utc_mm_player_common - -LIBS = `pkg-config --libs mm-player` -LIBS +=-L/usr/lib/:/usr/lib/pkgconfig -LIBS +=$(TET_ROOT)/lib/tet3/tcm_s.o -LIBS +=-L$(TET_ROOT)/lib/tet3 -ltcm_s -LIBS +=-L$(TET_ROOT)/lib/tet3/ -lapi_s - -INCS = -I. `pkg-config --cflags mm-player ` -INCS += -I$(TET_ROOT)/inc/tet3 -INCS += -I/usr/include/mmf - -CFLAGS = $(INCS) -CC += $(CFLAGS) -LDFLAGS = $(LIBS) - -all : $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS6) $(TS7) $(TS8) $(TS9) $(TS10) $(TS11) $(TS12) $(TS13) $(TS14) $(TS15) $(TS16) $(TS17) $(TS18) $(TS19) $(TS20) $(TS21) $(TS22) $(TS23) $(TS24) - -$(TS1): $(TS1).c $(TS25).c - $(CC) -o $(TS1) $(TS25).c $(TS1).c $(LDFLAGS) - -$(TS2): $(TS2).c $(TS25).c - $(CC) -o $(TS2) $(TS25).c $(TS2).c $(LDFLAGS) - -$(TS3): $(TS3).c $(TS25).c - $(CC) -o $(TS3) $(TS25).c $(TS3).c $(LDFLAGS) - -$(TS4): $(TS4).c $(TS25).c - $(CC) -o $(TS4) $(TS25).c $(TS4).c $(LDFLAGS) - -$(TS5): $(TS5).c $(TS25).c - $(CC) -o $(TS5) $(TS25).c $(TS5).c $(LDFLAGS) - -$(TS6): $(TS6).c $(TS25).c - $(CC) -o $(TS6) $(TS25).c $(TS6).c $(LDFLAGS) - -$(TS7): $(TS7).c $(TS25).c - $(CC) -o $(TS7) $(TS25).c $(TS7).c $(LDFLAGS) - -$(TS8): $(TS8).c $(TS25).c - $(CC) -o $(TS8) $(TS25).c $(TS8).c $(LDFLAGS) - -$(TS9): $(TS9).c $(TS25).c - $(CC) -o $(TS9) $(TS25).c $(TS9).c $(LDFLAGS) - -$(TS10): $(TS10).c $(TS25).c - $(CC) -o $(TS10) $(TS25).c $(TS10).c $(LDFLAGS) - -$(TS11): $(TS11).c $(TS25).c - $(CC) -o $(TS11) $(TS25).c $(TS11).c $(LDFLAGS) - -$(TS12): $(TS12).c $(TS25).c - $(CC) -o $(TS12) $(TS25).c $(TS12).c $(LDFLAGS) - -$(TS13): $(TS13).c $(TS25).c - $(CC) -o $(TS13) $(TS25).c $(TS13).c $(LDFLAGS) - -$(TS14): $(TS14).c $(TS25).c - $(CC) -o $(TS14) $(TS25).c $(TS14).c $(LDFLAGS) - -$(TS15): $(TS15).c $(TS25).c - $(CC) -o $(TS15) $(TS25).c $(TS15).c $(LDFLAGS) - -$(TS16): $(TS16).c $(TS25).c - $(CC) -o $(TS16) $(TS25).c $(TS16).c $(LDFLAGS) - -$(TS17): $(TS17).c $(TS25).c - $(CC) -o $(TS17) $(TS25).c $(TS17).c $(LDFLAGS) - -$(TS18): $(TS18).c $(TS25).c - $(CC) -o $(TS18) $(TS25).c $(TS18).c $(LDFLAGS) - -$(TS19): $(TS19).c $(TS25).c - $(CC) -o $(TS19) $(TS25).c $(TS19).c $(LDFLAGS) - -$(TS20): $(TS20).c $(TS25).c - $(CC) -o $(TS20) $(TS25).c $(TS20).c $(LDFLAGS) - -$(TS21): $(TS21).c $(TS25).c - $(CC) -o $(TS21) $(TS25).c $(TS21).c $(LDFLAGS) - -$(TS22): $(TS22).c $(TS25).c - $(CC) -o $(TS22) $(TS25).c $(TS22).c $(LDFLAGS) - -$(TS23): $(TS23).c $(TS25).c - $(CC) -o $(TS23) $(TS25).c $(TS23).c $(LDFLAGS) - -$(TS24): $(TS24).c $(TS25).c - $(CC) -o $(TS24) $(TS25).c $(TS24).c $(LDFLAGS) - -clean: - rm -rf *~ *.o $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS6) $(TS7) $(TS8) $(TS9) $(TS10) $(TS11) $(TS12) $(TS13) $(TS14) $(TS15) $(TS16) $(TS17) $(TS18) $(TS19) $(TS20) $(TS21) $(TS22) $(TS23) $(TS24) - - - diff --git a/TC/utc/test_data/legend.sub b/TC/utc/test_data/legend.sub deleted file mode 100755 index 76c392c..0000000 --- a/TC/utc/test_data/legend.sub +++ /dev/null @@ -1,2986 +0,0 @@ -1 -00:00:01,838 --> 00:00:03,005 -Richard Cypher, - -2 -00:00:03,006 --> 00:00:05,474 -you are the true Seeker. - -3 -00:00:07,510 --> 00:00:14,510 - Legend of the Seeker 2x09 -Dark -Original Air Date on January 23, 2010 - -4 -00:00:14,511 --> 00:00:19,811 --- Sync, corrected by elderman -- --- for addic7ed.com -- - -5 -00:00:29,745 --> 00:00:33,015 -Welcome to the Palace -of the Prophets. - -6 -00:00:33,016 --> 00:00:35,168 -It's beautiful. - -7 -00:00:35,169 --> 00:00:37,534 -I searched for you -for 24 years, Richard. - -8 -00:00:38,235 --> 00:00:42,798 -To bring you here, to my home, -to be trained as a Wizard. - -9 -00:00:42,799 --> 00:00:45,319 -So often I thought this day -would never come. - -10 -00:00:48,134 --> 00:00:51,185 -Well, at least we arrived before -you turned me completely gray. - -11 -00:00:55,815 --> 00:00:56,920 -Another headache? - -12 -00:00:58,365 --> 00:01:00,708 -Once you're inside the palace -walls the pain will go away. - -13 -00:01:00,709 --> 00:01:02,551 -How? - -14 -00:01:02,552 --> 00:01:04,594 -The palace is spelled -to carry the burden - -15 -00:01:04,595 --> 00:01:07,238 -that young Wizards -can't yet carry themselves. - -16 -00:01:07,239 --> 00:01:09,418 -Well, the quicker I learn -to handle it on my own, - -17 -00:01:09,419 --> 00:01:11,023 -the quicker I can get back -to my quest. - -18 -00:01:11,024 --> 00:01:12,864 -And my friends. - -19 -00:01:17,586 --> 00:01:20,464 -Where there is darkness - -20 -00:01:20,465 --> 00:01:24,747 -Let the light shine - -21 -00:01:24,748 --> 00:01:29,129 -Where there is despair - -22 -00:01:29,130 --> 00:01:32,173 -Let the Creator - -23 -00:01:32,174 --> 00:01:34,984 -Bring us hope - -24 -00:01:34,985 --> 00:01:39,298 -Where there is fear - -25 -00:01:39,299 --> 00:01:42,844 -Let the Creator - -26 -00:01:42,845 --> 00:01:46,957 -Inspire valor - -27 -00:01:46,958 --> 00:01:50,769 -Where there is loneliness - -28 -00:01:50,770 --> 00:01:53,176 -Let the Creator - -29 -00:01:53,177 --> 00:01:55,349 -Sow friendship - -30 -00:01:55,350 --> 00:01:56,285 -Verna. - -31 -00:01:59,965 --> 00:02:02,270 -Welcome home. - -32 -00:02:02,271 --> 00:02:04,376 -And you must be Richard. - -33 -00:02:04,377 --> 00:02:05,714 -Richard, this is - -34 -00:02:05,715 --> 00:02:07,787 -Annalina Aldurren, -the Prelate, - -35 -00:02:07,788 --> 00:02:10,393 -our spiritual leader. - -36 -00:02:10,394 --> 00:02:13,101 -We have waited -so long to meet you. - -37 -00:02:13,102 --> 00:02:15,039 -Welcome to the Palace -of the Prophets. - -38 -00:02:15,040 --> 00:02:16,242 -Thank you. - -39 -00:02:16,243 --> 00:02:22,024 -We'll speak later. -After devotions, yes? - -40 -00:02:22,025 --> 00:02:26,301 -♪ Strengthen me, O Creator ♪ - -41 -00:02:26,302 --> 00:02:31,616 -♪ To defend your light ♪ - -42 -00:02:36,361 --> 00:02:38,566 -Into the warmth -of the Creator's light. - -43 -00:02:38,567 --> 00:02:40,538 -Please rise. - -44 -00:02:45,651 --> 00:02:46,585 -Sister Brenna? - -45 -00:03:02,557 --> 00:03:05,060 -Sister Brenna's weak heart -finally gave out, - -46 -00:03:05,061 --> 00:03:07,933 -but the radiant look -of peace on her face - -47 -00:03:07,934 --> 00:03:12,643 -can only mean -she is with the Creator now. - -48 -00:03:14,347 --> 00:03:16,718 -Thank you, Sister Nicci. - -49 -00:03:16,719 --> 00:03:18,388 -Could you please prepare -the funeral pyre? - -50 -00:03:18,389 --> 00:03:19,356 -Yes, Prelate. - -51 -00:03:25,772 --> 00:03:27,573 -Prelate, - -52 -00:03:27,574 --> 00:03:31,112 -may I leave Sister Brenna's -hymn book with her? - -53 -00:03:31,113 --> 00:03:32,949 -She loved it so. - -54 -00:03:32,950 --> 00:03:35,086 -Of course, Sister Ulicia. - -55 -00:03:42,035 --> 00:03:45,541 -This rash. -I've seen it before. - -56 -00:03:45,542 --> 00:03:47,647 -It's caused by a deadly poison -from a rare vine - -57 -00:03:47,648 --> 00:03:48,649 -called creeping elder. - -58 -00:03:48,650 --> 00:03:50,552 -Sisters, please excuse us. - -59 -00:03:53,659 --> 00:03:55,128 -I should have known -better than to try - -60 -00:03:55,129 --> 00:03:57,231 -and keep the Seeker of Truth -in the dark. - -61 -00:03:57,232 --> 00:04:00,237 -I think Sister Brenna -took her own life. - -62 -00:04:01,808 --> 00:04:03,644 -Perhaps with that poison -you mentioned. - -63 -00:04:03,645 --> 00:04:05,513 -Why would she do -such a thing? - -64 -00:04:05,514 --> 00:04:08,382 -Many months ago -I sent Sister Brenna - -65 -00:04:08,383 --> 00:04:10,049 -on a service mission. - -66 -00:04:10,050 --> 00:04:13,251 -When she returned, she said -that during her time away - -67 -00:04:13,252 --> 00:04:14,752 -she'd become -troubled in her heart. - -68 -00:04:14,753 --> 00:04:19,388 -She witnessed fear, -sickness, famine. - -69 -00:04:19,389 --> 00:04:20,722 -"Starving children can't survive - -70 -00:04:20,723 --> 00:04:22,090 -on the Creator's light, -Prelate." - -71 -00:04:22,091 --> 00:04:23,024 -That's what she told me. - -72 -00:04:24,493 --> 00:04:26,860 -I was afraid she might -do something like this. - -73 -00:04:26,861 --> 00:04:29,229 -Then why did you tell everyone -her heart gave out? - -74 -00:04:29,230 --> 00:04:30,863 -The Sisters of the Light - -75 -00:04:30,864 --> 00:04:33,064 -believe suicide is an offense -to the Creator. - -76 -00:04:33,065 --> 00:04:35,701 -I didn't want to dishonor her -in front of the others. - -77 -00:04:35,702 --> 00:04:37,736 -How can you be sure -someone didn't poison her? - -78 -00:04:37,737 --> 00:04:39,937 -Richard, you heard -what the Prelate said. - -79 -00:04:39,938 --> 00:04:41,139 -Brenna wasn't well. - -80 -00:04:41,140 --> 00:04:42,907 -Why would she kill herself -during devotions? - -81 -00:04:42,908 --> 00:04:45,276 -As opposed to what? -Killing herself during teatime? - -82 -00:04:45,277 --> 00:04:46,846 -You've both had such -a long journey. - -83 -00:04:46,846 --> 00:04:51,949 -Verna, why don't you show -Richard to his quarters. - -84 -00:04:51,950 --> 00:04:55,019 -Your Wizard training -can begin in the morning. - -85 -00:04:58,958 --> 00:05:01,392 -Has a Sister ever taken her life -at the palace before? - -86 -00:05:01,393 --> 00:05:04,262 -Verna Sauventreen. - -87 -00:05:04,263 --> 00:05:07,597 -Sister Philomena. -Welcome back, welcome back. - -88 -00:05:07,598 --> 00:05:10,133 -And you must be our new Wizard. - -89 -00:05:10,134 --> 00:05:11,200 -How terribly exciting. - -90 -00:05:11,201 --> 00:05:12,501 -I'm not really a Wizard-- - -91 -00:05:13,869 --> 00:05:15,303 -Oh, forgive me. - -92 -00:05:15,304 --> 00:05:16,737 -I saw you put your hands up - -93 -00:05:16,738 --> 00:05:19,873 -and thought you were going -to blast me with Wizard's Fire. - -94 -00:05:24,545 --> 00:05:25,777 -Are you all right? - -95 -00:05:25,778 --> 00:05:28,146 -We have so much to catch up on. - -96 -00:05:28,147 --> 00:05:29,780 -Trust no one. -Yes, I'm sure we do. - -97 -00:05:29,781 --> 00:05:32,148 -meet me tonight when moonbeams -flood the sanctuary. - -98 -00:05:32,149 --> 00:05:33,650 -It was-- It was good to see you. - -99 -00:05:33,651 --> 00:05:34,984 -Uh, Richard? - -100 -00:05:34,985 --> 00:05:37,152 -how unfortunate that just as you -return from one mission - -101 -00:05:37,153 --> 00:05:39,119 -in the New World, -I'm setting off on another. - -102 -00:05:39,120 --> 00:05:40,921 -So many poor souls - -103 -00:05:40,922 --> 00:05:42,888 -in need of the Creator's light, -you know. - -104 -00:05:42,889 --> 00:05:45,522 -A sister's work is never done. - -105 -00:05:45,523 --> 00:05:46,857 -Speaking of a sister's work, - -106 -00:05:46,858 --> 00:05:48,825 -I need to see Richard -to his room. - -107 -00:05:48,826 --> 00:05:51,793 -Young Wizard, may the Creator's -light illuminate your path. - -108 -00:05:54,162 --> 00:05:56,530 -The Prelate's probably -sending her on a mission - -109 -00:05:56,531 --> 00:05:58,031 -just to get rid of her. - -110 -00:05:58,032 --> 00:05:58,998 -Your room. - -111 -00:06:06,606 --> 00:06:09,574 -I'll be back in the morning -to begin your training. - -112 -00:06:09,575 --> 00:06:10,908 -Good. - -113 -00:06:10,909 --> 00:06:12,876 -The sooner we start, -the sooner I can get out of here - -114 -00:06:12,877 --> 00:06:13,911 -and get back to the New World. - -115 -00:06:31,559 --> 00:06:33,426 -Is something wrong? - -116 -00:06:37,163 --> 00:06:38,530 -I miss Richard. - -117 -00:06:38,531 --> 00:06:39,698 -Why? - -118 -00:06:43,835 --> 00:06:48,505 -Because I love him and I'm not -used to being apart from him. - -119 -00:06:48,506 --> 00:06:51,541 -It's not necessary to feel -pain over his absence. - -120 -00:06:53,343 --> 00:06:54,743 -Don't you feel anything? - -121 -00:06:58,981 --> 00:07:01,615 -Mord-Sith believe emotions -must be governed. - -122 -00:07:01,616 --> 00:07:06,119 -Sadness, remorse, love... -These feelings make you weak. - -123 -00:07:06,120 --> 00:07:11,790 -But anger, loyalty, pride? - -124 -00:07:11,791 --> 00:07:13,992 -These feelings -make you powerful. - -125 -00:07:13,993 --> 00:07:17,828 -I can teach you how to control -your emotions, if you like. - -126 -00:07:17,829 --> 00:07:21,031 -I'm not sure love -makes a person weak, Cara. - -127 -00:07:21,032 --> 00:07:22,866 -Then why are you sitting -on the ground - -128 -00:07:22,867 --> 00:07:24,300 -weeping over a sword? - -129 -00:07:27,071 --> 00:07:29,406 -Thank you for your advice, - -130 -00:07:29,407 --> 00:07:33,209 -but, uh, -I think I'll be all right. - -131 -00:07:36,880 --> 00:07:39,714 -I hope Zedd is all right. - -132 -00:07:40,916 --> 00:07:42,350 -Zedd can handle himself. - -133 -00:07:42,351 --> 00:07:44,151 -I'm sure -he'll be back soon. - -134 -00:07:54,560 --> 00:07:59,729 -Can I help you -with something, Zeddicus? - -135 -00:07:59,730 --> 00:08:01,498 -You know exactly why I've come. - -136 -00:08:01,499 --> 00:08:02,566 -Yes. - -137 -00:08:02,667 --> 00:08:06,367 -Because you realize that Richard Cypher -will fail at his quest. - -138 -00:08:06,470 --> 00:08:09,605 -And someone very wise told you -that if you do not name - -139 -00:08:09,706 --> 00:08:12,040 -a new Seeker, -the world will perish, - -140 -00:08:12,041 --> 00:08:15,143 -which, in your blindness -and your pride, - -141 -00:08:15,144 --> 00:08:16,477 -you chose to ignore. - -142 -00:08:16,478 --> 00:08:18,311 -Are you just -interested in gloating, - -143 -00:08:18,412 --> 00:08:20,380 -or do you have -a candidate in mind? - -144 -00:08:20,381 --> 00:08:23,148 -As a matter of fact, I do. - -145 -00:08:23,149 --> 00:08:25,416 -Remember, not just anyone -can be the Seeker. - -146 -00:08:25,517 --> 00:08:29,452 -He must be courageous, strong, -compassionate, and above all, - -147 -00:08:29,453 --> 00:08:31,420 -relentless in the pursuit -of truth. - -148 -00:08:31,421 --> 00:08:34,756 -Fortunately, I have glimpsed -just such a man in my vision. - -149 -00:08:34,757 --> 00:08:37,291 -Come, let me show him to you. - -150 -00:08:38,727 --> 00:08:40,861 -Shota, if this turns out -to be one of your tricks - -151 -00:08:40,862 --> 00:08:42,395 -it will be your last. - -152 -00:08:42,396 --> 00:08:43,563 -No tricks. - -153 -00:08:43,564 --> 00:08:46,131 -A new Seeker is our only hope. - -154 -00:08:55,132 --> 00:08:56,532 -There he is. - -155 -00:09:11,084 --> 00:09:12,285 -Who are you? - -156 -00:09:17,256 --> 00:09:19,390 -I am Sister Nicci. - -157 -00:09:19,391 --> 00:09:20,558 -I saw you today. - -158 -00:09:20,559 --> 00:09:22,426 -With the Prelate. -Yes. - -159 -00:09:22,427 --> 00:09:25,463 -She considers me one -of her closest advisers. - -160 -00:09:25,464 --> 00:09:27,164 -Why did you ask me here? - -161 -00:09:29,034 --> 00:09:30,835 -To tell you a secret -that could get me killed. - -162 -00:09:30,836 --> 00:09:34,337 -But you must know the truth. - -163 -00:09:34,338 --> 00:09:35,939 -What truth? - -164 -00:09:35,940 --> 00:09:37,909 -How old do you think I am? - -165 -00:09:37,910 --> 00:09:39,944 -By the reckoning of the world - -166 -00:09:39,945 --> 00:09:41,914 -outside the Palace -of the Prophets, - -167 -00:09:41,915 --> 00:09:44,851 -I am nearly -300 years old. - -168 -00:09:44,852 --> 00:09:47,386 -How is that possible? - -169 -00:09:47,387 --> 00:09:49,122 -The palace is spelled. - -170 -00:09:49,123 --> 00:09:52,293 -For every day -that passes in here, - -171 -00:09:52,294 --> 00:09:55,261 -ten days pass -in the outside world. - -172 -00:09:55,262 --> 00:10:01,066 -If that's true, -then if I'm here a month, - -173 -00:10:01,067 --> 00:10:03,268 -almost a year will -go by for my friends. - -174 -00:10:03,269 --> 00:10:06,871 -Yes, and if your Wizard training -takes only a year-- - -175 -00:10:06,872 --> 00:10:08,907 -Ten years will pass -on the outside? - -176 -00:10:08,908 --> 00:10:10,341 -And by that time, - -177 -00:10:10,342 --> 00:10:11,643 -your friends could be dead. - -178 -00:10:11,644 --> 00:10:14,212 -Your quest could be meaningless. - -179 -00:10:14,213 --> 00:10:17,081 -The Keeper could have already -destroyed all life. - -180 -00:10:21,523 --> 00:10:22,923 -Why didn't anyone -tell me this? - -181 -00:10:22,924 --> 00:10:25,892 -The Prelate believed you -wouldn't stay if you found out - -182 -00:10:25,893 --> 00:10:28,294 -so she ordered the Sisters -not to speak of it. - -183 -00:10:28,295 --> 00:10:30,896 -But you're telling me. Why? - -184 -00:10:42,573 --> 00:10:45,140 -Because I don't believe -it's right to keep you - -185 -00:10:45,141 --> 00:10:47,842 -from pursuing your quest -by perpetrating a lie. - -186 -00:10:47,843 --> 00:10:50,545 -Are the headaches -a lie too? - -187 -00:10:50,546 --> 00:10:52,346 -No, I'm afraid -those are real. - -188 -00:10:57,485 --> 00:10:59,185 -What are you doing? - -189 -00:10:59,186 --> 00:11:00,720 -Showing you your han. - -190 -00:11:00,721 --> 00:11:04,156 -The essence -of your magic. - -191 -00:11:04,157 --> 00:11:06,825 -Sisters of the Light -have the ability to sense it. - -192 -00:11:10,396 --> 00:11:13,330 -Your han is the strongest -I've ever felt. - -193 -00:11:13,331 --> 00:11:16,099 -It's what's been -causing your pain. - -194 -00:11:16,100 --> 00:11:17,200 -And it's also why the Prelate - -195 -00:11:17,201 --> 00:11:19,535 -is so intent -on keeping you here. - -196 -00:11:19,536 --> 00:11:20,837 -Because I'd die otherwise? - -197 -00:11:20,838 --> 00:11:22,071 -That's only part of it. - -198 -00:11:22,072 --> 00:11:23,572 -What she really wants -is to train - -199 -00:11:23,573 --> 00:11:25,807 -the most powerful wizard -in 3,000 years - -200 -00:11:25,808 --> 00:11:28,176 -to be her disciple, -to fight her enemies. - -201 -00:11:28,177 --> 00:11:30,077 -You mean the Keeper? -No. - -202 -00:11:30,078 --> 00:11:33,580 -The Prelate wants to stop -you from pursuing your quest. - -203 -00:11:33,581 --> 00:11:35,548 -Why? - -204 -00:11:35,549 --> 00:11:37,383 -Prophecy. - -205 -00:11:37,384 --> 00:11:39,852 -It is written: "In the time -of the tearing of the veil, - -206 -00:11:39,853 --> 00:11:41,853 -"should the son of Brennidon -seek the sacred stone, - -207 -00:11:41,854 --> 00:11:46,591 -he will find it, only to deliver -it to the enemy of light." - -208 -00:11:51,563 --> 00:11:54,297 -The Prelate believes the enemy -of the light is the Keeper - -209 -00:11:54,298 --> 00:11:55,431 -and that this prophecy means - -210 -00:11:55,432 --> 00:11:56,966 -you'll fail in your -quest to defeat him. - -211 -00:11:56,967 --> 00:11:58,500 -You don't agree. - -212 -00:11:58,501 --> 00:11:59,834 -Some of us believe -it's a pretense - -213 -00:11:59,835 --> 00:12:00,969 -for holding you here, - -214 -00:12:00,970 --> 00:12:03,037 -and that the beloved -leader of our order - -215 -00:12:03,038 --> 00:12:05,572 -has become a zealot. - -216 -00:12:05,573 --> 00:12:06,806 -Sister Brenna thought so. - -217 -00:12:06,807 --> 00:12:09,541 -She argued that we should -tell you the truth, - -218 -00:12:09,542 --> 00:12:12,210 -but she never got the chance. - -219 -00:12:12,211 --> 00:12:14,512 -You believe the Prelate -killed her? - -220 -00:12:22,387 --> 00:12:25,055 -Creeping elder -kills quickly. - -221 -00:12:25,056 --> 00:12:28,290 -The Prelate greeted me -at the back of this room. - -222 -00:12:28,291 --> 00:12:31,926 -She didn't get close enough -to Brenna to deliver the poison. - -223 -00:12:31,927 --> 00:12:34,828 -All I know is that Sister Brenna -spoke out against the Prelate - -224 -00:12:34,829 --> 00:12:36,763 -and now Brenna's dead. - -225 -00:12:36,764 --> 00:12:39,133 -I have to get out of here. - -226 -00:12:41,972 --> 00:12:44,509 -Is there a way to do that -without the han killing me? - -227 -00:12:44,510 --> 00:12:47,878 -If you wore a rada'han, -it would suppress your powers, - -228 -00:12:47,879 --> 00:12:49,547 -and in turn, -your headaches. - -229 -00:12:49,548 --> 00:12:51,315 -Do you have one? -No. - -230 -00:12:51,316 --> 00:12:52,816 -But the Prelate does. - -231 -00:12:52,817 --> 00:12:55,351 -She keeps it locked up. - -232 -00:12:55,352 --> 00:12:57,219 -It may take me a few days -before I have the chance, - -233 -00:12:57,220 --> 00:12:58,454 -but I'll try to bring -it for you. - -234 -00:12:58,455 --> 00:13:00,321 -A few days here -is a month on the outside. - -235 -00:13:00,322 --> 00:13:02,823 -I'll get it -as soon as I can. - -236 -00:13:02,824 --> 00:13:07,460 -Until then, please, don't let -anyone know that we've spoken. - -237 -00:13:07,461 --> 00:13:10,028 -It could get me killed. - -238 -00:13:22,806 --> 00:13:23,340 -Why did you lie to me? - -239 -00:13:25,242 --> 00:13:28,077 -I want the truth. - -240 -00:13:36,151 --> 00:13:38,051 -Come with me. - -241 -00:13:39,720 --> 00:13:41,020 -"In the time - -242 -00:13:41,021 --> 00:13:42,854 -"of the tearing -of the veil, - -243 -00:13:42,855 --> 00:13:47,325 -"should the son of Brennidon -seek the sacred stone, - -244 -00:13:47,326 --> 00:13:52,495 -he will find it, only to deliver -it to the enemy of the light." - -245 -00:13:52,496 --> 00:13:54,797 -The Creator herself -gives us these prophecies - -246 -00:13:54,798 --> 00:13:56,532 -to guide our actions. - -247 -00:13:56,533 --> 00:13:59,033 -Did the Creator herself -tell you to lie to me? - -248 -00:13:59,034 --> 00:14:02,837 -No. - -249 -00:14:02,838 --> 00:14:04,306 -No, that was my idea. - -250 -00:14:04,307 --> 00:14:07,743 -While I was looking for you -in the New World, - -251 -00:14:07,744 --> 00:14:09,344 -I learned a lot about you, - -252 -00:14:09,345 --> 00:14:11,513 -including how devoted -you were to Kahlan - -253 -00:14:11,514 --> 00:14:12,581 -and your grandfather. - -254 -00:14:12,582 --> 00:14:15,183 -So I sent word -in a Journey Book - -255 -00:14:15,184 --> 00:14:17,485 -suggesting the Prelate -hide the truth - -256 -00:14:17,486 --> 00:14:18,986 -about the time difference. - -257 -00:14:18,987 --> 00:14:20,186 -Why? - -258 -00:14:20,187 --> 00:14:23,355 -Because you have -a greater destiny, Richard. - -259 -00:14:23,356 --> 00:14:25,757 -I believe people -make their own destinies. - -260 -00:14:25,758 --> 00:14:28,459 -Sometimes they -are written for us. - -261 -00:14:33,297 --> 00:14:35,531 -Our scholars have interpreted -this prophecy to mean - -262 -00:14:35,532 --> 00:14:38,567 -that you would -be born in Brennidon. - -263 -00:14:38,568 --> 00:14:40,268 -And you were. - -264 -00:14:45,207 --> 00:14:46,874 -They said that -this prophecy meant - -265 -00:14:46,875 --> 00:14:49,576 -that you would defeat -an evil tyrant. - -266 -00:14:49,577 --> 00:14:51,177 -And you did. - -267 -00:14:52,580 --> 00:14:53,880 -And now they say - -268 -00:14:53,881 --> 00:14:57,550 -that this prophecy means -that if you continue searching - -269 -00:14:57,551 --> 00:15:00,219 -for the Stone of Tears, -you'll find it, - -270 -00:15:00,220 --> 00:15:02,887 -but you will give -it to the Keeper - -271 -00:15:02,888 --> 00:15:05,022 -I would never do that. - -272 -00:15:05,023 --> 00:15:10,093 -And finally, the last and most -important prophecy. - -273 -00:15:10,094 --> 00:15:12,128 -Our scholars have interpreted -this one to mean - -274 -00:15:12,129 --> 00:15:15,464 -that the descendant -of two powerful bloodlines - -275 -00:15:15,465 --> 00:15:19,334 -must fight a powerful new force -after the Keeper is defeated. - -276 -00:15:20,870 --> 00:15:23,471 -That descendant is you. - -277 -00:15:23,472 --> 00:15:26,707 -Even if that's true, -that battle will never happen - -278 -00:15:26,708 --> 00:15:28,608 -if I don't defeat -the Keeper first. - -279 -00:15:28,609 --> 00:15:30,810 -You must leave that quest -to a new Seeker - -280 -00:15:30,811 --> 00:15:33,112 -and prepare for your -next challenge. - -281 -00:15:33,113 --> 00:15:36,648 -I'm not going to let my life -be ruled by someone's - -282 -00:15:36,649 --> 00:15:38,450 -interpretations of some -carvings on a wall. - -283 -00:15:38,451 --> 00:15:40,819 -Because of these carvings - -284 -00:15:40,820 --> 00:15:42,787 -I gave up half my life - -285 -00:15:42,788 --> 00:15:45,289 -just to bring you here. - -286 -00:15:45,290 --> 00:15:48,760 -And if I stay I'm giving up -the love of my life. - -287 -00:15:48,761 --> 00:15:50,828 -The harder you study, - -288 -00:15:50,829 --> 00:15:53,263 -the faster you'll learn -to use your power, - -289 -00:15:53,264 --> 00:15:56,532 -and the sooner you'll -get back to those you love. - -290 -00:16:21,758 --> 00:16:23,592 -What do we do -with horse thieves? - -291 -00:16:23,593 --> 00:16:26,261 -I'm not a horse thief, -I'm a blacksmith. - -292 -00:16:28,197 --> 00:16:30,464 -This is the man -we've spent the last month - -293 -00:16:30,465 --> 00:16:32,499 -crossing three rivers, - -294 -00:16:32,500 --> 00:16:33,667 -two mountain ranges, - -295 -00:16:33,668 --> 00:16:35,768 -and the great swamp -of Mathragon to find. - -296 -00:16:35,769 --> 00:16:38,436 -This is the man I saw -in Shota's vision. - -297 -00:16:38,437 --> 00:16:41,268 -Then why was he skulking -around our horses? - -298 -00:16:41,269 --> 00:16:44,168 -I was going to the stream -to get some water for my forge - -299 -00:16:44,169 --> 00:16:47,969 -when I noticed one of your -horses was favoring a leg. - -300 -00:16:47,970 --> 00:16:49,470 -Look, if you don't -get that pebble - -301 -00:16:49,471 --> 00:16:50,871 -out of her hoof, -she'll go lame. - -302 -00:16:50,872 --> 00:16:52,773 -He's telling the truth. - -303 -00:16:52,774 --> 00:16:54,507 -Of course he's telling -the truth. - -304 -00:16:54,508 --> 00:16:57,510 -He's the next Seeker of Truth. - -305 -00:17:02,615 --> 00:17:04,349 -So it's true then? - -306 -00:17:04,350 --> 00:17:06,284 -You knew you'd be the Seeker? - -307 -00:17:06,285 --> 00:17:08,987 -There's been a legend -in my family for generations - -308 -00:17:08,988 --> 00:17:11,655 -that someday one of our line -would be named. - -309 -00:17:11,656 --> 00:17:15,158 -My mother was always -sure it would be me. - -310 -00:17:15,159 --> 00:17:16,659 -Did did Richard Cypher die? - -311 -00:17:16,660 --> 00:17:19,361 -No. He's alive. - -312 -00:17:19,362 --> 00:17:22,397 -He just had to take -a long journey. - -313 -00:17:22,398 --> 00:17:23,932 -We're not sure -when he'll come back. - -314 -00:17:32,541 --> 00:17:34,575 -This is The Book -of Counted Shadows. - -315 -00:17:34,576 --> 00:17:38,145 -Only a true Seeker -can read it. - -316 -00:17:42,248 --> 00:17:46,917 -The truth of the words of -The Book of Counted Shadows - -317 -00:17:46,918 --> 00:17:48,985 -can only be insured -by a Confessor. - -318 -00:17:52,823 --> 00:17:54,890 -Sorry about your neck. - -319 -00:17:57,493 --> 00:17:59,861 -Leo Dane, - -320 -00:17:59,862 --> 00:18:02,662 -though the road will be long -and the outcome unknown, - -321 -00:18:02,663 --> 00:18:05,698 -will you undertake -this journey? - -322 -00:18:05,699 --> 00:18:07,365 -I will. - -323 -00:18:07,366 --> 00:18:08,800 -Will you leave -behind your friends - -324 -00:18:08,801 --> 00:18:10,767 -and all that you have known? - -325 -00:18:12,303 --> 00:18:14,003 -I will. - -326 -00:18:14,004 --> 00:18:15,972 -And though the forces -of evil are sworn - -327 -00:18:15,973 --> 00:18:17,740 -to bring about your death, - -328 -00:18:17,741 --> 00:18:20,243 -still, will you go on? - -329 -00:18:20,244 --> 00:18:22,678 -I will. - -330 -00:18:22,679 --> 00:18:23,946 -And will you accept - -331 -00:18:23,947 --> 00:18:25,848 -the name of the Seeker? - -332 -00:18:25,849 --> 00:18:28,952 -I will. - -333 -00:18:42,198 --> 00:18:44,066 -Then I, - -334 -00:18:44,067 --> 00:18:48,070 -First Wizard -Zeddicus Zu'l Zorander, - -335 -00:18:48,071 --> 00:18:49,538 -so name you. - -336 -00:19:09,461 --> 00:19:11,031 -Only in the hands of the Seeker - -337 -00:19:11,032 --> 00:19:12,166 -will the compass guide the way - -338 -00:19:12,167 --> 00:19:15,038 -to the Stone of Tears. - -339 -00:19:15,039 --> 00:19:16,072 -We head south. - -340 -00:19:20,778 --> 00:19:21,878 -Can I give you a hand? - -341 -00:19:26,783 --> 00:19:27,917 -You'll soon learn that it's we - -342 -00:19:27,918 --> 00:19:32,319 -who are here -to help you, Seeker. - -343 -00:19:35,989 --> 00:19:38,357 -Trying to show chivalry -to a Mord-Sith - -344 -00:19:38,358 --> 00:19:39,791 -is like trying -to dance with a bear. - -345 -00:19:39,792 --> 00:19:41,492 -It's never gonna work - -346 -00:19:41,493 --> 00:19:43,962 -and someone will get -their head bitten off. - -347 -00:19:50,868 --> 00:19:52,302 -Something's spooking her. - -348 -00:19:54,672 --> 00:19:56,639 -Easy, easy, easy. - -349 -00:20:07,816 --> 00:20:09,417 -Banelings. - -350 -00:21:15,047 --> 00:21:17,615 -Who are these people? -And why did they attack us? - -351 -00:21:17,616 --> 00:21:19,548 -They're banelings. - -352 -00:21:19,549 --> 00:21:22,716 -Dead souls who bargain with -the Keeper for a second life - -353 -00:21:22,717 --> 00:21:24,151 -in exchange for killing others. - -354 -00:21:25,620 --> 00:21:27,619 -How do we make sure they don't -come back from the dead - -355 -00:21:27,620 --> 00:21:28,619 -a second time? - -356 -00:21:28,620 --> 00:21:30,217 -We burn them. - -357 -00:21:40,189 --> 00:21:42,188 -I told you you were -gonna need our help. - -358 -00:21:48,729 --> 00:21:52,564 -The Grace represents -the whole of everything. - -359 -00:21:52,565 --> 00:21:56,400 -Separating the world of life -from the Underworld - -360 -00:21:56,401 --> 00:21:58,602 -is the veil. - -361 -00:21:58,603 --> 00:22:00,004 -Which has been torn. - -362 -00:22:00,005 --> 00:22:01,472 -And while the Keeper - -363 -00:22:01,473 --> 00:22:04,375 -is threatening -to destroy all life, - -364 -00:22:04,376 --> 00:22:06,443 -here I am drawing shapes -with sand. - -365 -00:22:06,444 --> 00:22:08,445 -We've been at this -for three days. - -366 -00:22:08,446 --> 00:22:10,180 -I thought you would teach -me to use my powers. - -367 -00:22:10,181 --> 00:22:11,781 -Patience. - -368 -00:22:11,782 --> 00:22:14,617 -The Grace is the foundation -of everything you need to know. - -369 -00:22:14,618 --> 00:22:16,751 -What exactly are you -trying to teach me? - -370 -00:22:16,752 --> 00:22:18,419 -How to be a Wizard? - -371 -00:22:18,420 --> 00:22:19,819 -Or how to be the Prelate's -disciple? - -372 -00:22:19,820 --> 00:22:22,922 -Your stubborn resistance is only -gonna make this take longer. - -373 -00:22:25,558 --> 00:22:26,958 -Excuse the interruption, - -374 -00:22:26,959 --> 00:22:28,993 -but I was asked to bring -Richard his lunch. - -375 -00:22:28,994 --> 00:22:31,795 -Thank you, Sister Nicci. - -376 -00:22:36,801 --> 00:22:38,635 -Yes, thank you, Sister Nicci. - -377 -00:22:39,637 --> 00:22:41,104 -Shall we continue? - -378 -00:23:00,223 --> 00:23:01,690 -How can I ever thank you? - -379 -00:23:01,691 --> 00:23:03,057 -You must hurry. - -380 -00:23:03,058 --> 00:23:04,225 -It's only a matter of time - -381 -00:23:04,226 --> 00:23:06,593 -before the Prelate -discovers it's missing. - -382 -00:23:06,594 --> 00:23:09,529 -Leave through the vestibule -at the west end of the palace. - -383 -00:23:09,530 --> 00:23:12,665 -It's rarely used and far -from the Sisters' quarters. - -384 -00:23:12,666 --> 00:23:14,967 -Will you be all right? - -385 -00:23:14,968 --> 00:23:18,136 -We'll all be better off -once you're back on your quest. - -386 -00:23:18,137 --> 00:23:19,804 -Now, go. - -387 -00:23:50,834 --> 00:23:53,100 -You're not going anywhere. - -388 -00:24:31,496 --> 00:24:32,763 -How did you get the rada'han? - -389 -00:24:36,500 --> 00:24:38,167 -I'm the Seeker. - -390 -00:24:38,168 --> 00:24:39,635 -I find things. - -391 -00:24:39,636 --> 00:24:42,503 -The only way you could have -known I even had a rada'han - -392 -00:24:42,504 --> 00:24:44,572 -is if one of the Sisters -told you. - -393 -00:24:44,573 --> 00:24:46,240 -How did you find me? - -394 -00:24:46,241 --> 00:24:48,775 -I'm 600 years old, Richard. - -395 -00:24:48,776 --> 00:24:50,976 -Not much gets past me. - -396 -00:24:50,977 --> 00:24:52,878 -I discovered the rada'han -was missing - -397 -00:24:52,879 --> 00:24:55,014 -and I told the Prelate -right away. - -398 -00:24:55,015 --> 00:24:56,582 -I erected a magical barrier - -399 -00:24:56,583 --> 00:24:58,483 -over every exit in the palace. - -400 -00:24:58,484 --> 00:25:00,151 -So now I'm your prisoner? - -401 -00:25:00,152 --> 00:25:01,718 -You've read the Prophecy -for yourself. - -402 -00:25:01,719 --> 00:25:03,355 -You've seen it with -your own eyes. - -403 -00:25:03,356 --> 00:25:05,157 -Well, I must have missed -the part that said, - -404 -00:25:05,158 --> 00:25:07,493 -"Richard Cypher will be held -in the Palace of the Prophets - -405 -00:25:07,494 --> 00:25:08,694 -against his will." - -406 -00:25:08,695 --> 00:25:11,830 -Richard, I want to show -you the ugly truth - -407 -00:25:11,831 --> 00:25:14,065 -about whichever Sister -is helping you. - -408 -00:25:14,066 --> 00:25:15,566 -What are you talking about? - -409 -00:25:20,072 --> 00:25:23,941 -Each candle represents -one Sister in the palace. - -410 -00:25:23,942 --> 00:25:27,612 -As the soul seeks the dark, -so does the flame. - -411 -00:25:31,013 --> 00:25:33,813 -The green flames represent -the sisters of the Dark. - -412 -00:25:34,718 --> 00:25:36,618 -Who secretly serve the Keeper. - -413 -00:25:36,619 --> 00:25:40,120 -One of them is obviously -pretending to be your friend. - -414 -00:25:40,121 --> 00:25:42,455 -Why would these Sisters -of the Dark do that? - -415 -00:25:42,456 --> 00:25:44,089 -Because they want you -to leave the palace, - -416 -00:25:44,090 --> 00:25:46,258 -find the Stone of Tears -and deliver it to the Keeper, - -417 -00:25:46,259 --> 00:25:47,993 -just as the Prophecy -says you will. - -418 -00:25:49,863 --> 00:25:50,796 -Nicci? - -419 -00:25:56,569 --> 00:25:57,502 -Yes, Prelate? - -420 -00:26:00,038 --> 00:26:03,339 -Please see Richard -to his room. - -421 -00:26:03,340 --> 00:26:05,442 -Make sure he doesn't -get any uninvited guests. - -422 -00:26:17,084 --> 00:26:18,818 -Whose side are you on? - -423 -00:26:18,819 --> 00:26:20,586 -I tried to help you. - -424 -00:26:20,587 --> 00:26:22,921 -So I can get back on my quest, -find the sacred stone - -425 -00:26:22,922 --> 00:26:24,322 -and give it to the enemy -of the light? - -426 -00:26:24,323 --> 00:26:27,256 -Are the Prelate's -powers of persuasion - -427 -00:26:27,257 --> 00:26:28,924 -so compelling that even -the Seeker of Truth - -428 -00:26:28,925 --> 00:26:31,660 -will succumb -to her manipulations? - -429 -00:26:31,661 --> 00:26:34,195 -How do I know she's the one -manipulating me? - -430 -00:26:36,130 --> 00:26:38,831 -All she had to do was turn one -word from "light" to "dark" - -431 -00:26:38,832 --> 00:26:41,567 -and claim there's -a conspiracy against her, - -432 -00:26:41,568 --> 00:26:44,002 -and you-- You believed her? - -433 -00:26:44,003 --> 00:26:46,871 -And you stopped -believing in yourself. - -434 -00:26:46,872 --> 00:26:48,640 -I believe in myself, Nicci. - -435 -00:26:48,641 --> 00:26:50,308 -It's you I'm not sure about. - -436 -00:26:50,309 --> 00:26:52,676 -I risked my life for you. - -437 -00:26:52,677 --> 00:26:54,010 -Where are you going? - -438 -00:26:54,011 --> 00:26:56,912 -If the Prelate is going -to accuse anyone - -439 -00:26:56,913 --> 00:26:59,814 -who disagrees with her -of serving the Keeper, - -440 -00:26:59,815 --> 00:27:02,248 -then it's far more -dangerous than I thought. - -441 -00:27:02,249 --> 00:27:03,916 -Who-- Who will she -accuse next? - -442 -00:27:03,917 --> 00:27:05,784 -The cook because -the roast was burnt? - -443 -00:27:05,785 --> 00:27:10,425 -Or the groundskeeper because -he trimmed the hedges too low? - -444 -00:27:10,426 --> 00:27:13,898 -If I stay here, I will -end up like Sister Brenna. - -445 -00:27:17,903 --> 00:27:19,202 -Is there another way -to get out? - -446 -00:27:29,579 --> 00:27:30,712 -There might be. - -447 -00:27:30,713 --> 00:27:31,780 -Tell me. - -448 -00:27:33,716 --> 00:27:36,784 -Aside from being able -to sense someone's han, - -449 -00:27:36,785 --> 00:27:39,685 -the Sisters of Light -can also take it. - -450 -00:27:39,686 --> 00:27:41,853 -Take it how? - -451 -00:27:41,854 --> 00:27:44,857 -We can kill someone -with the Dacra, - -452 -00:27:44,858 --> 00:27:46,694 -and use it to absorb their han, - -453 -00:27:46,695 --> 00:27:49,629 -or accept the gift from -someone who chooses - -454 -00:27:49,630 --> 00:27:51,731 -to relinquish it willingly. - -455 -00:27:51,732 --> 00:27:53,698 -Why didn't you -tell me this before? - -456 -00:27:53,699 --> 00:27:55,733 -Because the rada'han -was a safer way. - -457 -00:27:55,734 --> 00:27:58,068 -Taking someone's han -could kill me. - -458 -00:27:59,804 --> 00:28:01,271 -It could also make you -very powerful. - -459 -00:28:03,842 --> 00:28:06,644 -Yes. - -460 -00:28:06,645 --> 00:28:09,547 -Powerful enough to break through -the Prelate's barriers - -461 -00:28:09,548 --> 00:28:11,215 -and help you escape. - -462 -00:28:11,216 --> 00:28:14,985 -How do I know this wasn't -your plan all along? - -463 -00:28:14,986 --> 00:28:17,254 -Slowly gain my trust -and then steal my power. - -464 -00:28:19,190 --> 00:28:22,192 -I told you, - -465 -00:28:22,193 --> 00:28:23,393 -if I wanted your power - -466 -00:28:23,394 --> 00:28:25,762 -I could just kill you -and take it. - -467 -00:28:28,933 --> 00:28:31,734 -I have to go before -they catch me talking to you. - -468 -00:28:36,238 --> 00:28:37,338 -The choice is yours. - -469 -00:28:37,339 --> 00:28:41,173 -Trust me and escape - -470 -00:28:41,174 --> 00:28:44,240 -or stay here until -they decide to let you out. - -471 -00:28:58,418 --> 00:29:01,086 -Sister Philomena -sent word by Journey Book. - -472 -00:29:01,087 --> 00:29:02,454 -She's crossed to the New World - -473 -00:29:02,455 --> 00:29:04,889 -and she's already -on the new Seeker's trail. - -474 -00:29:04,890 --> 00:29:06,890 -He'll be dead before -he's gripped the Sword of Truth - -475 -00:29:06,891 --> 00:29:08,958 -long enough to warm its hilt. - -476 -00:29:08,959 --> 00:29:11,461 -Very good, Ulicia. - -477 -00:29:11,462 --> 00:29:12,495 -And Richard? - -478 -00:29:14,498 --> 00:29:16,699 -It's only a matter of time - -479 -00:29:16,700 --> 00:29:18,500 -before he's begging me -to take his power, - -480 -00:29:18,501 --> 00:29:22,237 -and once I have it, -I'll free him from the palace - -481 -00:29:22,238 --> 00:29:26,707 -and return him -to his quest... - -482 -00:29:26,708 --> 00:29:28,675 -of failure. - -483 -00:29:28,676 --> 00:29:32,112 -And the Sisters of the Light? - -484 -00:29:32,113 --> 00:29:34,581 -I'll kill the Prelate. - -485 -00:29:34,582 --> 00:29:36,985 -The rest of the Sisters -will be given a choice: - -486 -00:29:36,986 --> 00:29:40,689 -convert to the dark -and serve the Keeper, or die. - -487 -00:29:42,725 --> 00:29:46,495 -Although there -is one small problem. - -488 -00:29:46,496 --> 00:29:50,099 -I've felt the strength -of Richard's han. - -489 -00:29:50,100 --> 00:29:53,769 -It's far greater -than I anticipated. - -490 -00:29:53,770 --> 00:29:56,872 -If I try to absorb it, - -491 -00:29:56,873 --> 00:29:59,107 -the power may overwhelm me. - -492 -00:29:59,108 --> 00:30:03,278 -You should increase your -strength before you take his. - -493 -00:30:03,279 --> 00:30:07,982 -Kill another Sister. -Take her han. - -494 -00:30:07,983 --> 00:30:12,486 -Sisters of the Dark -think alike, Ulicia. - -495 -00:30:34,166 --> 00:30:37,768 -I'll take over your watch -so you can get some sleep. - -496 -00:30:37,769 --> 00:30:39,470 -I'm not tired. - -497 -00:30:39,471 --> 00:30:42,673 -Considering how easy it was for -me to sneak up on you just now, - -498 -00:30:42,674 --> 00:30:44,141 -obviously you need some rest. - -499 -00:30:44,142 --> 00:30:47,579 -It would be impossible -for you to sneak up on me. - -500 -00:30:56,787 --> 00:30:58,287 -So, - -501 -00:30:58,288 --> 00:30:59,989 -Cara. - -502 -00:30:59,990 --> 00:31:02,590 -Yes, Leo? - -503 -00:31:05,861 --> 00:31:07,428 -Do you like animals? - -504 -00:31:07,429 --> 00:31:09,329 -Ones that taste good. - -505 -00:31:09,330 --> 00:31:11,998 -I meant, -do you like pets? - -506 -00:31:14,334 --> 00:31:16,802 -I once had a dog. - -507 -00:31:16,803 --> 00:31:18,003 -I like dogs. - -508 -00:31:19,239 --> 00:31:21,406 -I trained it to attack -on command. - -509 -00:31:23,042 --> 00:31:25,843 -I could see how that -could be useful. - -510 -00:31:27,512 --> 00:31:29,713 -Could you train a chipmunk? - -511 -00:31:32,182 --> 00:31:33,549 -What are you talking about? - -512 -00:31:33,550 --> 00:31:36,518 -To obey your orders? -Attack people? - -513 -00:31:37,954 --> 00:31:40,588 -It's probably too hard, right? - -514 -00:31:40,589 --> 00:31:43,457 -Ah, the mighty chipmunk. - -515 -00:31:43,458 --> 00:31:44,825 -It's fearless. - -516 -00:31:44,826 --> 00:31:45,859 -Cunning. - -517 -00:31:45,860 --> 00:31:47,393 -Stalwart. - -518 -00:31:47,394 --> 00:31:48,728 -And sworn enemy -of the Mord-Sith. - -519 -00:31:48,729 --> 00:31:51,363 -Not even the touch of the Agiel - -520 -00:31:51,364 --> 00:31:54,065 -can break its tiny -but heroic heart. - -521 -00:31:55,634 --> 00:31:58,469 -So you do have -a sense of humor. - -522 -00:32:01,039 --> 00:32:02,472 -You were right. - -523 -00:32:02,473 --> 00:32:03,640 -What about? - -524 -00:32:03,641 --> 00:32:05,275 -If I'm laughing at your -ridiculous jokes, - -525 -00:32:05,276 --> 00:32:07,544 -I must be tired. - -526 -00:32:07,545 --> 00:32:09,412 -I should get some sleep. - -527 -00:32:09,413 --> 00:32:10,746 -Sleep well. - -528 -00:32:10,747 --> 00:32:12,614 -And don't worry. - -529 -00:32:12,615 --> 00:32:14,215 -I'll protect you -from the chipmunks. - -530 -00:32:19,819 --> 00:32:22,154 -I've never heard you -laugh before. - -531 -00:32:24,123 --> 00:32:26,124 -Aren't you supposed -to be asleep? - -532 -00:32:40,236 --> 00:32:43,004 -Well, I'm glad to see you -at devotions. - -533 -00:32:43,005 --> 00:32:45,806 -Having the Creator on your side -certainly can't hurt - -534 -00:32:45,807 --> 00:32:48,008 -when it comes to learning -to use your gift. - -535 -00:32:50,011 --> 00:32:53,413 -In time, I'm confident -you'll learn to appreciate - -536 -00:32:53,414 --> 00:32:55,749 -the Palace of the Prophets -as much as I do. - -537 -00:32:55,750 --> 00:32:58,984 -Maybe so. - -538 -00:33:01,689 --> 00:33:04,858 -It is customary to kiss -the star before opening it. - -539 -00:33:27,276 --> 00:33:28,310 -Ready for your lesson? - -540 -00:33:28,311 --> 00:33:29,844 -The lessons are over. - -541 -00:33:32,447 --> 00:33:35,082 -A Sister of the Dark -has agreed to absorb my han, - -542 -00:33:35,083 --> 00:33:37,950 -use the power to blast -through the Prelate's barrier, - -543 -00:33:37,951 --> 00:33:39,051 -and set me free. - -544 -00:33:45,893 --> 00:33:47,059 -Is this a joke? - -545 -00:33:47,060 --> 00:33:49,628 -Oh, I'm very serious. - -546 -00:33:49,629 --> 00:33:51,830 -Who's helping you? - -547 -00:33:51,831 --> 00:33:53,665 -All I can say is that -once this is done, - -548 -00:33:53,666 --> 00:33:57,935 -the person I'm leaving behind -will be very powerful. - -549 -00:33:57,936 --> 00:34:01,070 -She'll probably kill all -the Sisters of the Light. - -550 -00:34:01,071 --> 00:34:04,140 -How kind of you to warn me. - -551 -00:34:05,809 --> 00:34:07,409 -But I'm afraid -I can't let you do this. - -552 -00:34:07,410 --> 00:34:09,477 -Looking for this? - -553 -00:34:09,478 --> 00:34:11,946 -The choice is yours: - -554 -00:34:11,947 --> 00:34:13,847 -help me with what I need to do -to prevent this woman - -555 -00:34:13,848 --> 00:34:15,082 -from killing everyone, - -556 -00:34:15,083 --> 00:34:18,284 -or stay here gagged and tied up -while I escape anyway. - -557 -00:34:18,285 --> 00:34:21,854 -Either way, I'm getting free. - -558 -00:34:21,855 --> 00:34:25,357 -In one instance -the Sisters will be safe. - -559 -00:34:25,358 --> 00:34:27,993 -In the other, -they'll probably be slaughtered. - -560 -00:34:30,963 --> 00:34:33,765 -I've gotten -to know you Richard. - -561 -00:34:33,766 --> 00:34:36,167 -You would never leave innocent -women at the mercy of a monster. - -562 -00:34:36,168 --> 00:34:39,536 -I'd hardly call the Sisters -of the Light innocent women. - -563 -00:34:39,537 --> 00:34:42,371 -You've lied to me, -held me captive, - -564 -00:34:42,372 --> 00:34:45,706 -and separated me from the people -I love most in the world. - -565 -00:34:47,608 --> 00:34:49,041 -But worst of all, - -566 -00:34:49,042 --> 00:34:51,943 -you've used your piety -as an excuse - -567 -00:34:51,944 --> 00:34:53,478 -to take away my freedom. - -568 -00:34:53,479 --> 00:34:56,814 -Everything I've done, I've done -with the best intentions. - -569 -00:34:56,815 --> 00:34:59,849 -I don't need training to tell -you Wizard's Second Rule: - -570 -00:34:59,850 --> 00:35:04,320 -the greatest harm can result -from the best intentions. - -571 -00:35:32,578 --> 00:35:36,179 -Is the air putting up -much of a fight? - -572 -00:35:36,180 --> 00:35:39,015 -Well, I could use -a sparring partner. - -573 -00:35:39,016 --> 00:35:41,150 -Mord-Siths don't spar. - -574 -00:35:41,151 --> 00:35:44,987 -When we fight, -we fight to inflict pain. - -575 -00:35:48,892 --> 00:35:50,626 -Someone just tried to kill you. - -576 -00:36:10,881 --> 00:36:13,049 -Who are you and why are you -trying to kill me? - -577 -00:36:13,050 --> 00:36:14,716 -I'm not telling you anything. - -578 -00:36:14,717 --> 00:36:16,617 -Feeling a little shy today? - -579 -00:36:16,618 --> 00:36:18,951 -I can help you -find your courage. - -580 -00:36:22,021 --> 00:36:23,922 -What's going on here? - -581 -00:36:23,923 --> 00:36:26,358 -This woman just tried -to kill Leo. - -582 -00:36:26,359 --> 00:36:28,794 -Perhaps you can compel her -to explain why. - -583 -00:36:47,543 --> 00:36:51,478 -Can you bring her back -with the Breath of Life? - -584 -00:36:54,982 --> 00:36:57,383 -No. - -585 -00:36:57,384 --> 00:36:58,784 -She's severed her windpipe. - -586 -00:36:58,785 --> 00:37:02,486 -Why would a Sister of the Light -want to kill Leo? - -587 -00:37:02,487 --> 00:37:04,522 -Something must be terribly wrong -within their order. - -588 -00:37:07,125 --> 00:37:09,625 -Richard's with them. - -589 -00:37:09,626 --> 00:37:10,626 -He could be in danger. - -590 -00:37:10,627 --> 00:37:12,128 -I have to find him. - -591 -00:37:12,129 --> 00:37:13,829 -I'll go with you. - -592 -00:37:13,830 --> 00:37:15,731 -What about the Stone of Tears? - -593 -00:37:15,732 --> 00:37:17,799 -He's right. - -594 -00:37:17,800 --> 00:37:19,801 -We shouldn't all go. - -595 -00:37:19,802 --> 00:37:21,002 -I'll stay with Leo. - -596 -00:37:21,003 --> 00:37:23,204 -You try to pick up -Richard's trail. - -597 -00:37:25,340 --> 00:37:27,040 -Are you sure you -want to do this? - -598 -00:37:27,041 --> 00:37:28,842 -Yes. - -599 -00:37:30,811 --> 00:37:32,077 -Place your palms on mine, - -600 -00:37:34,947 --> 00:37:36,515 -close your eyes, - -601 -00:37:38,117 --> 00:37:39,651 -and surrender yourself to me. - -602 -00:37:54,387 --> 00:37:56,354 -Say the words with me: - -603 -00:38:47,932 --> 00:38:50,968 -Now the Sisters won't be able -to follow you. - -604 -00:38:53,137 --> 00:38:55,037 -All that power. - -605 -00:38:55,038 --> 00:38:56,038 -Useless. - -606 -00:38:56,039 --> 00:38:58,273 -Richard, help me. - -607 -00:38:58,274 --> 00:38:59,808 -You are a Sister of the Dark, -Nicci. - -608 -00:38:59,809 --> 00:39:00,809 -And so is Ulicia. - -609 -00:39:00,810 --> 00:39:02,210 -That's not true. - -610 -00:39:02,211 --> 00:39:03,545 -At first I wasn't sure, - -611 -00:39:03,546 --> 00:39:04,980 -but then I realized: - -612 -00:39:04,981 --> 00:39:06,982 -you're the one who passes -out the hymn books. - -613 -00:39:06,983 --> 00:39:08,651 -You killed Sister Brenna - -614 -00:39:08,652 --> 00:39:10,453 -by rubbing -creeping elder on hers. - -615 -00:39:10,454 --> 00:39:12,554 -She was poisoned -when she kissed it. - -616 -00:39:12,555 --> 00:39:14,055 -Why would I kill Brenna? - -617 -00:39:14,056 --> 00:39:16,490 -To make me suspicious -of the Prelate. - -618 -00:39:16,491 --> 00:39:18,424 -That's absurd. -Ulicia put the hymn book - -619 -00:39:18,425 --> 00:39:21,093 -with the body so the poison -wouldn't be discovered. - -620 -00:39:21,094 --> 00:39:24,660 -She also alerted the Prelate -that the rada'han was missing - -621 -00:39:24,661 --> 00:39:25,760 -so I'd be captured. - -622 -00:39:25,761 --> 00:39:28,030 -If we wanted you -out of the palace, - -623 -00:39:28,031 --> 00:39:29,767 -why would we -want you captured? - -624 -00:39:29,768 --> 00:39:32,103 -Because you needed me to believe -that the only way out - -625 -00:39:32,104 --> 00:39:34,639 -was to let you take my powers. - -626 -00:39:41,779 --> 00:39:43,180 -Get him. - -627 -00:39:49,753 --> 00:39:52,421 -Your han isn't as strong -as the woman - -628 -00:39:52,422 --> 00:39:53,788 -who put up this barrier. - -629 -00:39:53,789 --> 00:39:55,657 -You can't take -it down so easily. - -630 -00:39:55,658 --> 00:39:59,660 -Richard, don't go. - -631 -00:39:59,661 --> 00:40:02,963 -Don't you see, you'll only -be serving the Keeper? - -632 -00:40:02,964 --> 00:40:06,365 -I don't believe -in prophecies. - -633 -00:40:06,366 --> 00:40:09,001 -You're a lost soul if you have -nothing to believe in, Richard. - -634 -00:40:10,369 --> 00:40:12,403 -I believe in myself. - -635 -00:40:12,404 --> 00:40:13,671 -And the people I love. - -636 -00:40:33,180 --> 00:40:35,473 -Well, it's only a matter of time -before he finds the stone - -637 -00:40:35,474 --> 00:40:36,539 -and gives it to the Keeper. - -638 -00:40:36,540 --> 00:40:39,765 -Just like the Prophecy says. - -639 -00:40:39,766 --> 00:40:42,666 -I wouldn't underestimate him -if I were you. - -640 -00:40:42,667 --> 00:40:44,568 -He's full of surprises. - -641 -00:41:05,287 --> 00:41:06,718 -Sister, what's happening? - -642 -00:41:11,356 --> 00:41:14,191 -A new prophecy. - -643 -00:41:14,192 --> 00:41:17,127 -That hasn't happened -in a thousand years. - -644 -00:41:19,530 --> 00:41:22,866 -"As long as the Mother -Confessor's pure heart beats, - -645 -00:41:22,867 --> 00:41:27,103 -the Keeper is doomed to fail." - -646 -00:41:39,047 --> 00:41:40,614 -Lesson Number 88, Seeker: - -647 -00:41:40,615 --> 00:41:44,583 -"Growling bellies make for -unhappy traveling companions." - -648 -00:41:44,584 --> 00:41:46,117 -You want to stop and eat? - -649 -00:41:48,487 --> 00:41:49,820 -Kahlan. - -650 -00:41:49,821 --> 00:41:50,988 -Cara. - -651 -00:41:50,989 --> 00:41:52,255 -What are you doing here? - -652 -00:41:52,256 --> 00:41:53,523 -We were heading south, - -653 -00:41:53,524 --> 00:41:56,859 -but then the compass -suddenly changed direction - -654 -00:41:56,860 --> 00:41:57,993 -and it led us here. - -655 -00:41:57,994 --> 00:42:00,229 -If the compass led you to us, - -656 -00:42:00,230 --> 00:42:03,465 -and we're traveling -towards Richard, then-- - -657 -00:42:06,236 --> 00:42:08,470 -Then the compass must -be guiding us all back to him. - -658 -00:42:10,780 --> 00:42:15,414 --- Sync, corrected by elderman -- --- for addic7ed.com -- - diff --git a/TC/utc/tslist b/TC/utc/tslist deleted file mode 100755 index 102e4c1..0000000 --- a/TC/utc/tslist +++ /dev/null @@ -1,24 +0,0 @@ -./utc_mm_player_create_func -./utc_mm_player_destroy_func -./utc_mm_player_realize_func -./utc_mm_player_unrealize_func -./utc_mm_player_start_func -./utc_mm_player_stop_func -./utc_mm_player_pause_func -./utc_mm_player_resume_func -./utc_mm_player_set_volume_func -./utc_mm_player_get_volume_func -./utc_mm_player_set_position_func -./utc_mm_player_get_position_func -./utc_mm_player_set_mute_func -./utc_mm_player_get_mute_func -./utc_mm_player_activate_section_repeat_func -./utc_mm_player_deactivate_section_repeat_func -./utc_mm_player_set_subtitle_silent_func -./utc_mm_player_get_subtitle_silent_func -./utc_mm_player_get_state_func -./utc_mm_player_set_message_callback_func -./utc_mm_player_set_audio_stream_callback_func -./utc_mm_player_get_attribute_func -./utc_mm_player_get_attribute_info_func -./utc_mm_player_set_attribute_func diff --git a/TC/utc/utc_mm_player_activate_section_repeat_func.c b/TC/utc/utc_mm_player_activate_section_repeat_func.c deleted file mode 100755 index 1f523f7..0000000 --- a/TC/utc/utc_mm_player_activate_section_repeat_func.c +++ /dev/null @@ -1,133 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_activate_section_repeat_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_activate_section_repeat_func_01, 1}, - {utc_mm_player_activate_section_repeat_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_activate_repeat_loop; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) - { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - - ret = mm_player_activate_section_repeat(player, 1000, 3000); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_activate_repeat_loop); - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_activate_section_repeat() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_activate_section_repeat_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_activate_section_repeat_func_01() -{ - int cur_pos = 0; - int offset = 4000; // 4sec - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - mm_player_set_attribute(player, NULL, "profile_uri", MP3_FILE, strlen(MP3_FILE), NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_activate_repeat_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_activate_section_repeat() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_activate_section_repeat_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_activate_section_repeat_func_02() -{ - MMHandleType player = 0; - int start_pos = -10; // invalid pos - int end_pos = 5; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, NULL, "profile_uri", MP3_FILE, strlen(MP3_FILE), NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - UTC_MM_PLAYER_START(player, ret); - - ret = mm_player_activate_section_repeat(player, start_pos, end_pos); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} diff --git a/TC/utc/utc_mm_player_activate_section_repeat_func.h b/TC/utc/utc_mm_player_activate_section_repeat_func.h deleted file mode 100755 index 90dcd1f..0000000 --- a/TC/utc/utc_mm_player_activate_section_repeat_func.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -/** -* @file utc_mm_player_activate_section_repeat_func.h -* @author -* @brief This is the implementaion file for the test case of mm_player_activate_section_repeat API function -* @version Initial Creation Version 0.1 -* @date 2010-09-13 -*/ - -#ifndef __UTS_MM_PLAYER_ACTIVATE_SECTION_REPEAT_FUNC_H_ -#define __UTS_MM_PLAYER_ACTIVATE_SECTION_REPEAT_FUNC_H_ - - -#include "utc_mm_player_common.h" - -void utc_mm_player_activate_section_repeat_func_01(); -void utc_mm_player_activate_section_repeat_func_02(); - -#endif //__UTS_MM_PLAYER_ACTIVATE_SECTION_REPEAT_FUNC_H_ diff --git a/TC/utc/utc_mm_player_common.c b/TC/utc/utc_mm_player_common.c deleted file mode 100755 index 1f73d1d..0000000 --- a/TC/utc/utc_mm_player_common.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - - -#include "utc_mm_player_common.h" - -void (*tet_startup)() = Startup; -void (*tet_cleanup)() = Cleanup; - -void Startup() -{ - return; -} - -void Cleanup() -{ - return; -} \ No newline at end of file diff --git a/TC/utc/utc_mm_player_common.h b/TC/utc/utc_mm_player_common.h deleted file mode 100755 index 34d87b9..0000000 --- a/TC/utc/utc_mm_player_common.h +++ /dev/null @@ -1,104 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MMF_PLAYER_COMMON_H_ -#define __UTS_MMF_PLAYER_COMMON_H_ - -#include -#include -#include -#include -#include -#include -#include -#include - -#define MP3_FILE "file:///opt/media/Sounds and Music/Music/Over the horizon.mp3" -#define MP4_FILE "file:///opt/media/Images and videos/My video clips/Helicopter.mp4" -#define SUBTITLE_PATH "./test_data/legend.sub" - -#define MAX_STRING_LEN 256 - -#define UTC_MM_LOG(fmt, args...) tet_printf("[%s(L%d)]:"fmt"\n", __FUNCTION__, __LINE__, ##args) - -#define UTC_MM_PLAYER_CREATE(x_player, x_ret) \ -do \ -{ \ - x_ret = mm_player_create(x_player); \ - dts_check_eq( "mm_player_create", x_ret, MM_ERROR_NONE, "unable to create player handle, error code->%x", x_ret ); \ -} \ -while(0) - -#define UTC_MM_PLAYER_REALIZE(x_player, x_ret) \ -do \ -{ \ - x_ret = mm_player_realize(x_player); \ - dts_check_eq( "mm_player_realize", x_ret, MM_ERROR_NONE, "unable to realize player handle, error code->%x", x_ret ); \ -} \ -while(0) - -#define UTC_MM_PLAYER_UNREALIZE(x_player, x_ret) \ -do \ -{ \ - x_ret = mm_player_unrealize(x_player); \ - dts_check_eq( "mm_player_unrealize", x_ret, MM_ERROR_NONE, "unable to unrealize player handle, error code->%x", x_ret ); \ -} \ -while(0) - -#define UTC_MM_PLAYER_DESTROY(x_player, x_ret) \ -do \ -{ \ - x_ret = mm_player_destroy(x_player); \ - dts_check_eq( "mm_player_destroy", x_ret, MM_ERROR_NONE, "unable to destroy player handle, error code->%x", x_ret ); \ -} \ -while(0) - -#define UTC_MM_PLAYER_START(x_player, x_ret) \ -do \ -{ \ - x_ret = mm_player_start(x_player); \ - dts_check_eq( "mm_player_start", x_ret, MM_ERROR_NONE, "unable to start player handle, error code->%x", x_ret ); \ -} \ -while(0) - -#define UTC_MM_PLAYER_RUN_LOOP(x_loop) \ -do\ -{\ - x_loop = g_main_loop_new(NULL, FALSE);\ - g_main_loop_run(x_loop); \ -} \ -while(0) - -#define UTC_MM_PLAYER_QUIT_LOOP(x_loop) \ -do\ -{\ - g_main_loop_quit(x_loop); \ -} \ -while(0) - -/** test case startup function */ -void Startup(); -/** test case clean up function */ -void Cleanup(); - -#endif //__UTS_MMF_PLAYER_COMMON_H_ - diff --git a/TC/utc/utc_mm_player_create_func.c b/TC/utc/utc_mm_player_create_func.c deleted file mode 100755 index 7104c2f..0000000 --- a/TC/utc/utc_mm_player_create_func.c +++ /dev/null @@ -1,69 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -#include "utc_mm_player_create_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_create_func_01, 1}, - {utc_mm_player_create_func_02, 2}, - {NULL, 0} -}; - -/** -* @brief This tests int mm_player_create() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_create_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_create_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - ret = mm_player_create(&player); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_create() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_create_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_create_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - ret = mm_player_create(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - return; -} diff --git a/TC/utc/utc_mm_player_create_func.h b/TC/utc/utc_mm_player_create_func.h deleted file mode 100755 index c7b22fc..0000000 --- a/TC/utc/utc_mm_player_create_func.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_CREATE_FUNC_H_ -#define __UTS_MM_PLAYER_CREATE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_create_func_01(); -void utc_mm_player_create_func_02(); - - -#endif //__UTS_MM_PLAYER_CREATE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_deactivate_section_repeat_func.c b/TC/utc/utc_mm_player_deactivate_section_repeat_func.c deleted file mode 100755 index 487e39d..0000000 --- a/TC/utc/utc_mm_player_deactivate_section_repeat_func.c +++ /dev/null @@ -1,155 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_deactivate_section_repeat_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_deactivate_section_repeat_func_01, 1}, - {utc_mm_player_deactivate_section_repeat_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_deactivate_repeat_loop; -bool g_is_deactive_sec_rep_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) - { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - - mm_player_activate_section_repeat(player, 1000, 3000); - - if (g_is_deactive_sec_rep_positive) - { - ret = mm_player_deactivate_section_repeat(player); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret); - } - else - { - ret = mm_player_deactivate_section_repeat(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret); - } - - // XX_fucn_01 can return when g_main_loop is quit. - g_main_loop_quit(g_deactivate_repeat_loop); - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_deactivate_section_repeat() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_deactivate_section_repeat_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_deactivate_section_repeat_func_01() -{ - MMHandleType player = 0; - int ret = 0; - GMainLoop *gloop; - int start_pos = 0; - int end_pos = 5000; //5sec - - g_is_deactive_sec_rep_positive = 1; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_deactivate_repeat_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_deactivate_section_repeat() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_deactivate_section_repeat_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_deactivate_section_repeat_func_02() -{ - MMHandleType player = 0; - int ret = 0; - GMainLoop *gloop; - int start_pos = 0; - int end_pos = 5000; //5sec - - g_is_deactive_sec_rep_positive = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - UTC_MM_PLAYER_RUN_LOOP(g_deactivate_repeat_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_deactivate_section_repeat_func.h b/TC/utc/utc_mm_player_deactivate_section_repeat_func.h deleted file mode 100755 index 0af3b51..0000000 --- a/TC/utc/utc_mm_player_deactivate_section_repeat_func.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_DEACTIVATE_SECTION_REPEAT_FUNC_H_ -#define __UTS_MM_PLAYER_DEACTIVATE_SECTION_REPEAT_FUNC_H_ - - -#include "utc_mm_player_common.h" - -void utc_mm_player_deactivate_section_repeat_func_01(); -void utc_mm_player_deactivate_section_repeat_func_02(); - - -#endif //__UTS_MM_PLAYER_DEACTIVATE_SECTION_REPEAT_FUNC_H_ diff --git a/TC/utc/utc_mm_player_destroy_func.c b/TC/utc/utc_mm_player_destroy_func.c deleted file mode 100755 index d129624..0000000 --- a/TC/utc/utc_mm_player_destroy_func.c +++ /dev/null @@ -1,77 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_destroy_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_destroy_func_01, 1}, - {utc_mm_player_destroy_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_destroy() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_destroy_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_destroy_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_destroy(player); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - return; -} - - -/** -* @brief This tests int mm_player_destroy() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_destroy_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_destroy_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_destroy(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} diff --git a/TC/utc/utc_mm_player_destroy_func.h b/TC/utc/utc_mm_player_destroy_func.h deleted file mode 100755 index fc958b9..0000000 --- a/TC/utc/utc_mm_player_destroy_func.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_DESTROY_FUNC_H_ -#define __UTS_MM_PLAYER_DESTROY_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_destroy_func_01(); -void utc_mm_player_destroy_func_02(); - - -#endif //__UTS_MM_PLAYER_DESTROY_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_attribute_func.c b/TC/utc/utc_mm_player_get_attribute_func.c deleted file mode 100755 index b94ca77..0000000 --- a/TC/utc/utc_mm_player_get_attribute_func.c +++ /dev/null @@ -1,91 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_attribute_func.h" - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_attribute_func_01, 1}, - {utc_mm_player_get_attribute_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_get_attribute() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_attribute_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_attribute_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - int count = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_get_attribute(player, NULL, "profile_play_count", &count, NULL); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_attribute() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_attribute_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_attribute_func_02() -{ - MMHandleType player = 0; - int ret = 0; - char *filename = NULL; - char *err_name; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_get_attribute(player, &err_name, "profile", &filename, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_LOG("abnormal condition test for invalid attrs, error code->%x", ret); - UTC_MM_LOG("err attrs name = %s", err_name); - - if (err_name) - { - free(err_name); - err_name = NULL; - } - - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_get_attribute_func.h b/TC/utc/utc_mm_player_get_attribute_func.h deleted file mode 100755 index 9f95e01..0000000 --- a/TC/utc/utc_mm_player_get_attribute_func.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_ATTRIBUTE_FUNC_H_ -#define __UTS_MM_PLAYER_GET_ATTRIBUTE_FUNC_H_ - - -#include "utc_mm_player_common.h" - -void utc_mm_player_get_attribute_func_01(); -void utc_mm_player_get_attribute_func_02(); - - -#endif //__UTS_MM_PLAYER_GET_ATTRIBUTE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_attribute_info_func.c b/TC/utc/utc_mm_player_get_attribute_info_func.c deleted file mode 100755 index dab2f67..0000000 --- a/TC/utc/utc_mm_player_get_attribute_info_func.c +++ /dev/null @@ -1,83 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_attribute_info_func.h" - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_attribute_info_func_01, 1}, - {utc_mm_player_get_attribute_info_func_02, 2}, - {NULL, 0} -}; - - - -/** -* @brief This tests int mm_player_get_attribute_info() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_attribute_info_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_attribute_info_func_01() -{ - MMPlayerAttrsInfo info; - char *attrs_name = "profile_uri"; - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_get_attribute_info(player, attrs_name, &info); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_LOG( "%s info is...%d, %d, %d", attrs_name, info.type, info.flag, info.validity_type ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_attribute_info() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_attribute_info_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_attribute_info_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_get_attribute_info(player, NULL, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_get_attribute_info_func.h b/TC/utc/utc_mm_player_get_attribute_info_func.h deleted file mode 100755 index 8a59f80..0000000 --- a/TC/utc/utc_mm_player_get_attribute_info_func.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_ATTRIBUTE_INFO_FUNC_H_ -#define __UTS_MM_PLAYER_GET_ATTRIBUTE_INFO_FUNC_H_ - - -#include "utc_mm_player_common.h" - -void utc_mm_player_get_attribute_info_func_01(); -void utc_mm_player_get_attribute_info_func_02(); - -#endif //__UTS_MM_PLAYER_GET_ATTRIBUTE_INFO_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_mute_func.c b/TC/utc/utc_mm_player_get_mute_func.c deleted file mode 100755 index e7bd210..0000000 --- a/TC/utc/utc_mm_player_get_mute_func.c +++ /dev/null @@ -1,96 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_mute_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_mute_func_01, 1}, - {utc_mm_player_get_mute_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_get_mute() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_mute_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_mute_func_01() -{ - int mute = 0; - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_mute(player, &mute); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_mute() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_mute_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_mute_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_mute(player, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_get_mute_func.h b/TC/utc/utc_mm_player_get_mute_func.h deleted file mode 100755 index a2ae171..0000000 --- a/TC/utc/utc_mm_player_get_mute_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_MUTE_FUNC_H_ -#define __UTS_MM_PLAYER_GET_MUTE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_get_mute_func_01(); -void utc_mm_player_get_mute_func_02(); - - - - -#endif //__UTS_MM_PLAYER_GET_MUTE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_position_func.c b/TC/utc/utc_mm_player_get_position_func.c deleted file mode 100755 index 72f304d..0000000 --- a/TC/utc/utc_mm_player_get_position_func.c +++ /dev/null @@ -1,173 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_position_func.h" - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_position_func_01, 1}, - {utc_mm_player_get_position_func_02, 2}, - {utc_mm_player_get_position_func_03, 3}, - {NULL, 0} -}; - - -GMainLoop *g_get_position_loop; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - int pos = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) - { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - - ret = mm_player_get_position(player, MM_PLAYER_POS_FORMAT_TIME, &pos); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - // XX_fucn_01 can return when g_main_loop is quit. - g_main_loop_quit(g_get_position_loop); - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_get_position() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_position_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_position_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_get_position_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_position() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_position_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_position_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - MMPlayerPosFormatType format = 10; // invalid format - - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_position(player, format, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} - - -/** -* @brief This tests int mm_player_get_position() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_position_func_03 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_position_func_03() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_position(player, MM_PLAYER_POS_FORMAT_PERCENT, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} \ No newline at end of file diff --git a/TC/utc/utc_mm_player_get_position_func.h b/TC/utc/utc_mm_player_get_position_func.h deleted file mode 100755 index eda5e5c..0000000 --- a/TC/utc/utc_mm_player_get_position_func.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_POSITION_FUNC_H_ -#define __UTS_MM_PLAYER_GET_POSITION_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_get_position_func_01(); -void utc_mm_player_get_position_func_02(); -void utc_mm_player_get_position_func_03(); - - - - -#endif //__UTS_MM_PLAYER_GET_POSITION_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_state_func.c b/TC/utc/utc_mm_player_get_state_func.c deleted file mode 100755 index 669415f..0000000 --- a/TC/utc/utc_mm_player_get_state_func.c +++ /dev/null @@ -1,95 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_state_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_state_func_01, 1}, - {utc_mm_player_get_state_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_get_state() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_state_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_state_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - MMPlayerStateType state = MM_PLAYER_STATE_NULL; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_state(player, &state); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_state() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_state_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_state_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_state(player, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_get_state_func.h b/TC/utc/utc_mm_player_get_state_func.h deleted file mode 100755 index f7f45ec..0000000 --- a/TC/utc/utc_mm_player_get_state_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_STATE_FUNC_H_ -#define __UTS_MM_PLAYER_GET_STATE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_get_state_func_01(); -void utc_mm_player_get_state_func_02(); - - - - -#endif //__UTS_MM_PLAYER_GET_STATE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_subtitle_silent_func.c b/TC/utc/utc_mm_player_get_subtitle_silent_func.c deleted file mode 100755 index fc0a144..0000000 --- a/TC/utc/utc_mm_player_get_subtitle_silent_func.c +++ /dev/null @@ -1,98 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -#include "utc_mm_player_get_subtitle_silent_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_subtitle_silent_func_01, 1}, - {utc_mm_player_get_subtitle_silent_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_get_subtitle_silent() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_subtitle_silent_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_subtitle_silent_func_01() -{ - MMHandleType player = 0; - int ret = 0; - int silent = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - /* One subtitle should be set first before testing get_subtitle_silent API */ - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - "subtitle_uri", SUBTITLE_PATH, strlen(SUBTITLE_PATH), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_subtitle_silent(player, &silent); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_get_subtitle_silent() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_get_subtitle_silent_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_get_subtitle_silent_func_02() -{ - MMHandleType player = 0; - int ret = 0; - int silent = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - /* One subtitle should be set first before testing get_subtitle_silent API */ - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - "subtitle_uri", SUBTITLE_PATH, strlen(SUBTITLE_PATH), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_subtitle_silent(NULL, &silent); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} \ No newline at end of file diff --git a/TC/utc/utc_mm_player_get_subtitle_silent_func.h b/TC/utc/utc_mm_player_get_subtitle_silent_func.h deleted file mode 100755 index bab9127..0000000 --- a/TC/utc/utc_mm_player_get_subtitle_silent_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_SUBTITLE_SILENT_FUNC_H_ -#define __UTS_MM_PLAYER_GET_SUBTITLE_SILENT_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_get_subtitle_silent_func_01(); -void utc_mm_player_get_subtitle_silent_func_02(); - - - - -#endif //__UTS_MM_PLAYER_GET_SUBTITLE_SILENT_FUNC_H_ diff --git a/TC/utc/utc_mm_player_get_volume_func.c b/TC/utc/utc_mm_player_get_volume_func.c deleted file mode 100755 index c89343a..0000000 --- a/TC/utc/utc_mm_player_get_volume_func.c +++ /dev/null @@ -1,102 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_get_volume_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_get_volume_func_01, 1}, - {utc_mm_player_get_volume_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_get_volume() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_get_volume_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_get_volume_func_01() -{ - MMHandleType player = 0; - int ret = 0; - int i; - MMPlayerVolumeType volume; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_get_volume(player, &volume); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - for( i=0; i, YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_GET_VOLUME_FUNC_H_ -#define __UTS_MM_PLAYER_GET_VOLUME_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_get_volume_func_01(); -void utc_mm_player_get_volume_func_02(); - - - - -#endif //__UTS_MM_PLAYER_GET_VOLUME_FUNC_H_ diff --git a/TC/utc/utc_mm_player_pause_func.c b/TC/utc/utc_mm_player_pause_func.c deleted file mode 100755 index 6f23992..0000000 --- a/TC/utc/utc_mm_player_pause_func.c +++ /dev/null @@ -1,149 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_pause_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_pause_func_01, 1}, - {utc_mm_player_pause_func_02, 2}, - {NULL, 0} -}; - - -GMainLoop *g_pause_loop; -bool g_is_pause_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - if (g_is_pause_positive) - { - ret = mm_player_pause(player); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - else - { - ret = mm_player_pause(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_pause_loop); - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_pause() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_pause_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_pause_func_01() -{ - - MMHandleType player = 0; - int ret = 0; - - g_is_pause_positive = 1; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_pause_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_pause() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_pause_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_pause_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - g_is_pause_positive = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - UTC_MM_PLAYER_RUN_LOOP(g_pause_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_pause_func.h b/TC/utc/utc_mm_player_pause_func.h deleted file mode 100755 index 50fad32..0000000 --- a/TC/utc/utc_mm_player_pause_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_PAUSE_FUNC_H_ -#define __UTS_MM_PLAYER_PAUSE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_pause_func_01(); -void utc_mm_player_pause_func_02(); - - - - -#endif //__UTS_MM_PLAYER_PAUSE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_realize_func.c b/TC/utc/utc_mm_player_realize_func.c deleted file mode 100755 index 1f4122b..0000000 --- a/TC/utc/utc_mm_player_realize_func.c +++ /dev/null @@ -1,85 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_realize_func.h" - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_realize_func_01, 1}, - {utc_mm_player_realize_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_realize() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_realize_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_realize_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - ret = mm_player_realize(player); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_realize() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_realize_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_realize_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_realize(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_realize_func.h b/TC/utc/utc_mm_player_realize_func.h deleted file mode 100755 index 801549f..0000000 --- a/TC/utc/utc_mm_player_realize_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_REALIZE_FUNC_H_ -#define __UTS_MM_PLAYER_REALIZE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_realize_func_01(); -void utc_mm_player_realize_func_02(); - - - - -#endif //__UTS_MM_PLAYER_REALIZE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_resume_func.c b/TC/utc/utc_mm_player_resume_func.c deleted file mode 100755 index 69ee63c..0000000 --- a/TC/utc/utc_mm_player_resume_func.c +++ /dev/null @@ -1,149 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_resume_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_resume_func_01, 1}, - {utc_mm_player_resume_func_02, 2}, - {NULL, 0} -}; - - -GMainLoop *g_resume_loop; -bool g_is_resume_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - - mm_player_pause(player); - - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - - if (g_is_resume_positive) - { - ret = mm_player_resume(player); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - else - { - ret = mm_player_resume(NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_resume_loop); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_resume() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_resume_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_resume_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_resume_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_resume() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_resume_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_resume_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_resume_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_resume_func.h b/TC/utc/utc_mm_player_resume_func.h deleted file mode 100755 index 0e74a8c..0000000 --- a/TC/utc/utc_mm_player_resume_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_RESUME_FUNC_H_ -#define __UTS_MM_PLAYER_RESUME_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_resume_func_01(); -void utc_mm_player_resume_func_02(); - - - - -#endif //__UTS_MM_PLAYER_RESUME_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_attribute_func.c b/TC/utc/utc_mm_player_set_attribute_func.c deleted file mode 100755 index f1b32b5..0000000 --- a/TC/utc/utc_mm_player_set_attribute_func.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_set_attribute_func.h" - - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_attribute_func_01, 1}, - {utc_mm_player_set_attribute_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_set_attribute() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_attribute_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_attribute_func_01() -{ - MMHandleType player = 0; - int ret = 0; - int count = 2; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_set_attribute(player, - NULL, - "profile_play_count", count, - NULL); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_attribute() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_attribute_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_attribute_func_02() -{ - int count = 10; - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - ret = mm_player_set_attribute(player, - NULL, - "profile_play_count", &count, - NULL); // invaild param : &cont - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_attribute_func.h b/TC/utc/utc_mm_player_set_attribute_func.h deleted file mode 100755 index d8532ce..0000000 --- a/TC/utc/utc_mm_player_set_attribute_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_SET_ATTRIBUTE_FUNC_H_ -#define __UTS_MM_PLAYER_SET_SET_ATTRIBUTE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_attribute_func_01(); -void utc_mm_player_set_attribute_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_SET_ATTRIBUTE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_audio_stream_callback_func.c b/TC/utc/utc_mm_player_set_audio_stream_callback_func.c deleted file mode 100755 index b3d9158..0000000 --- a/TC/utc/utc_mm_player_set_audio_stream_callback_func.c +++ /dev/null @@ -1,112 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/*=========================================================================================== -| | -| INCLUDE FILES | -| | -========================================================================================== */ -#include "utc_mm_player_set_audio_stream_callback_func.h" - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_audio_stream_callback_func_01, 1}, - {utc_mm_player_set_audio_stream_callback_func_02, 2}, - {NULL, 0} -}; - - -bool _audio_stream_cb(void *stream, int stream_size, void *user_param); - - - -bool _audio_stream_cb(void *stream, int stream_size, void *user_param) -{ - UTC_MM_LOG("audio stream callback is called."); - - return 1; -} - - -/** -* @brief This tests int mm_player_set_audio_stream_callback() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_audio_stream_callback_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_audio_stream_callback_func_01() -{ - - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_audio_stream_callback(player, _audio_stream_cb, NULL); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_audio_stream_callback() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_audio_stream_callback_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_audio_stream_callback_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_audio_stream_callback(player, NULL, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_audio_stream_callback_func.h b/TC/utc/utc_mm_player_set_audio_stream_callback_func.h deleted file mode 100755 index ca5d49e..0000000 --- a/TC/utc/utc_mm_player_set_audio_stream_callback_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_AUDIO_STREAM_CALLBACK_FUNC_H_ -#define __UTS_MM_PLAYER_SET_AUDIO_STREAM_CALLBACK_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_audio_stream_callback_func_01(); -void utc_mm_player_set_audio_stream_callback_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_AUDIO_STREAM_CALLBACK_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_message_callback_func.c b/TC/utc/utc_mm_player_set_message_callback_func.c deleted file mode 100755 index 3b1580c..0000000 --- a/TC/utc/utc_mm_player_set_message_callback_func.c +++ /dev/null @@ -1,122 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_set_message_callback_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_message_callback_func_01, 1}, - {utc_mm_player_set_message_callback_func_02, 2}, - {NULL, 0} -}; - - - - -bool _msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - switch (message) - { - case MM_MESSAGE_ERROR: - break; - - case MM_MESSAGE_WARNING: - break; - - case MM_MESSAGE_END_OF_STREAM: - break; - - case MM_MESSAGE_STATE_CHANGED: - break; - - case MM_MESSAGE_BEGIN_OF_STREAM: - break; - - default: - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_set_message_callback() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_message_callback_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_message_callback_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_message_callback(player, _msg_callback, NULL); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_message_callback() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_message_callback_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_message_callback_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_message_callback(NULL, _msg_callback, NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_message_callback_func.h b/TC/utc/utc_mm_player_set_message_callback_func.h deleted file mode 100755 index 9de873e..0000000 --- a/TC/utc/utc_mm_player_set_message_callback_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_MESSAGE_CALLBACK_FUNC_H_ -#define __UTS_MM_PLAYER_SET_MESSAGE_CALLBACK_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_message_callback_func_01(); -void utc_mm_player_set_message_callback_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_MESSAGE_CALLBACK_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_mute_func.c b/TC/utc/utc_mm_player_set_mute_func.c deleted file mode 100755 index 6b13c6a..0000000 --- a/TC/utc/utc_mm_player_set_mute_func.c +++ /dev/null @@ -1,144 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_set_mute_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_mute_func_01, 1}, - {utc_mm_player_set_mute_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_set_mute_loop; -bool g_is_set_mute_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - if (g_is_set_mute_positive) - { - ret = mm_player_set_mute(player, 1); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - else - { - int mute = 10; // invalid value - ret = mm_player_set_mute(player, mute ); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_set_mute_loop); - - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - -/** -* @brief This tests int mm_player_set_mute() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_mute_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_mute_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); -g_print("--------------------------- %s, %d\n", __func__, __LINE__); - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_set_mute_loop); -g_print("--------------------------- %s, %d\n", __func__, __LINE__); - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_mute() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_mute_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_mute_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); -g_print("--------------------------- %s, %d\n", __func__, __LINE__); - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_set_mute_loop); -g_print("--------------------------- %s, %d\n", __func__, __LINE__); - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_mute_func.h b/TC/utc/utc_mm_player_set_mute_func.h deleted file mode 100755 index d5c13d7..0000000 --- a/TC/utc/utc_mm_player_set_mute_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_MUTE_FUNC_H_ -#define __UTS_MM_PLAYER_SET_MUTE_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_mute_func_01(); -void utc_mm_player_set_mute_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_MUTE_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_position_func.c b/TC/utc/utc_mm_player_set_position_func.c deleted file mode 100755 index 7dbcd0b..0000000 --- a/TC/utc/utc_mm_player_set_position_func.c +++ /dev/null @@ -1,144 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_set_position_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_position_func_01, 1}, - {utc_mm_player_set_position_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_set_pos_loop; -bool g_is_set_pos_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - int pos = 4000; // 4sec - if (g_is_set_pos_positive) - { - - ret = mm_player_set_position(player, MM_PLAYER_POS_FORMAT_TIME, pos); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - else - { - ret = mm_player_set_position(NULL, MM_PLAYER_POS_FORMAT_TIME, pos); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_set_pos_loop); - - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - -/** -* @brief This tests int mm_player_set_position() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_position_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_position_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_set_pos_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_position() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_position_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_position_func_02() -{ - MMHandleType player = 0; - int ret = 0; - int pos = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - UTC_MM_PLAYER_RUN_LOOP(g_set_pos_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} \ No newline at end of file diff --git a/TC/utc/utc_mm_player_set_position_func.h b/TC/utc/utc_mm_player_set_position_func.h deleted file mode 100755 index ae742fe..0000000 --- a/TC/utc/utc_mm_player_set_position_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -#ifndef __UTS_MM_PLAYER_SET_POSITION_FUNC_H_ -#define __UTS_MM_PLAYER_SET_POSITION_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_position_func_01(); -void utc_mm_player_set_position_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_POSITION_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_subtitle_silent_func.c b/TC/utc/utc_mm_player_set_subtitle_silent_func.c deleted file mode 100755 index fa6c865..0000000 --- a/TC/utc/utc_mm_player_set_subtitle_silent_func.c +++ /dev/null @@ -1,103 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_set_subtitle_silent_func.h" - - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_subtitle_silent_func_01, 1}, - {utc_mm_player_set_subtitle_silent_func_02, 2}, - {NULL, 0} -}; - - - - -/** -* @brief This tests int mm_player_set_subtitle_silent() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_subtitle_silent_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_subtitle_silent_func_01() -{ - int silent = 0; - MMHandleType player = 0; - char *g_error_name = NULL; - int ret = 0; - - - UTC_MM_PLAYER_CREATE(&player, ret); - ret = mm_player_set_attribute(player, - g_error_name, - "subtitle_uri", SUBTITLE_PATH, strlen(SUBTITLE_PATH), - "profile_uri", MP4_FILE, strlen(MP4_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_subtitle_silent(player, silent); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_subtitle_silent() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_subtitle_silent_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_subtitle_silent_func_02() -{ - MMHandleType player = 0; - char *g_error_name = NULL; - int ret = 0; - int silent = 10; // invalid value - - UTC_MM_PLAYER_CREATE(&player, ret); - ret = mm_player_set_attribute(player, - g_error_name, - "subtitle_uri", SUBTITLE_PATH, strlen(SUBTITLE_PATH), - "profile_uri", MP4_FILE, strlen(MP4_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_set_subtitle_silent(NULL, silent); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_subtitle_silent_func.h b/TC/utc/utc_mm_player_set_subtitle_silent_func.h deleted file mode 100755 index 0ffb68c..0000000 --- a/TC/utc/utc_mm_player_set_subtitle_silent_func.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_SUBTITLE_SILIENT_FUNC_H_ -#define __UTS_MM_PLAYER_SET_SUBTITLE_SILIENT_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_set_subtitle_silent_func_01(); -void utc_mm_player_set_subtitle_silent_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_SUBTITLE_SILIENT_FUNC_H_ diff --git a/TC/utc/utc_mm_player_set_volume_func.c b/TC/utc/utc_mm_player_set_volume_func.c deleted file mode 100755 index f90e6f5..0000000 --- a/TC/utc/utc_mm_player_set_volume_func.c +++ /dev/null @@ -1,148 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -#include "utc_mm_player_set_volume_func.h" - - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_set_volume_func_01, 1}, - {utc_mm_player_set_volume_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_set_vol_loop; -bool g_is_set_vol_positive = 0; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - MMPlayerVolumeType volume; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - int pos = 4000; // 4sec - if (g_is_set_vol_positive) - { - volume.level[MM_VOLUME_CHANNEL_LEFT] = volume.level[MM_VOLUME_CHANNEL_RIGHT] = 0.5; - ret = mm_player_set_volume(player, &volume); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - else - { - ret = mm_player_set_volume(player, NULL); - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - } - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_set_vol_loop); - - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - -/** -* @brief This tests int mm_player_set_volume() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_set_volume_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_set_volume_func_01() -{ - MMHandleType player = 0; - int ret = 0; - MMPlayerVolumeType volume; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_set_vol_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_set_volume() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_set_volume_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_set_volume_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_set_vol_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_set_volume_func.h b/TC/utc/utc_mm_player_set_volume_func.h deleted file mode 100755 index 16ee09e..0000000 --- a/TC/utc/utc_mm_player_set_volume_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_SET_VOLUME_FUNC_H_ -#define __UTS_MM_PLAYER_SET_VOLUME_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_set_volume_func_01(); -void utc_mm_player_set_volume_func_02(); - - - - -#endif //__UTS_MM_PLAYER_SET_VOLUME_FUNC_H_ diff --git a/TC/utc/utc_mm_player_start_func.c b/TC/utc/utc_mm_player_start_func.c deleted file mode 100755 index 0fcca4b..0000000 --- a/TC/utc/utc_mm_player_start_func.c +++ /dev/null @@ -1,93 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_start_func.h" - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_start_func_01, 1}, - {utc_mm_player_start_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_start() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_start_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_start_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_start(player); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_start() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_start_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_start_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_start(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_start_func.h b/TC/utc/utc_mm_player_start_func.h deleted file mode 100755 index b603d2d..0000000 --- a/TC/utc/utc_mm_player_start_func.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_START_FUNC_H_ -#define __UTS_MM_PLAYER_START_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_start_func_01(); -void utc_mm_player_start_func_02(); - - -#endif //__UTS_MM_PLAYER_START_FUNC_H_ diff --git a/TC/utc/utc_mm_player_stop_func.c b/TC/utc/utc_mm_player_stop_func.c deleted file mode 100755 index 209598c..0000000 --- a/TC/utc/utc_mm_player_stop_func.c +++ /dev/null @@ -1,138 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_stop_func.h" - - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_stop_func_01, 1}, - {utc_mm_player_stop_func_02, 2}, - {NULL, 0} -}; - -GMainLoop *g_stop_loop; - -bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - int ret = 0; - MMHandleType player = 0; - player = (MMHandleType) user_param; - - switch (message) { - case MM_MESSAGE_STATE_CHANGED: - switch(param->state.current) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [PLAYER_UTC] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [PLAYER_UTC] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [PLAYER_UTC] Player is [PLAYING]\n"); - - ret = mm_player_stop(player); - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - // XX_fucn_01 can return when g_main_loop is quit. - UTC_MM_PLAYER_QUIT_LOOP(g_stop_loop); - - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [PLAYER_UTC] Player is [PAUSED]\n"); - break; - } - break; - } - - return 1; -} - - -/** -* @brief This tests int mm_player_stop() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_stop_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_stop_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - mm_player_set_message_callback(player, msg_callback, (void*)player); - - UTC_MM_PLAYER_REALIZE(player, ret); - UTC_MM_PLAYER_START(player, ret); - - // XX_fucn_01 is blocking here until message callback receives PLAYING message. - UTC_MM_PLAYER_RUN_LOOP(g_stop_loop); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; - - -} - - -/** -* @brief This tests int mm_player_stop() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_stop_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_stop_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_stop(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_stop_func.h b/TC/utc/utc_mm_player_stop_func.h deleted file mode 100755 index 238d211..0000000 --- a/TC/utc/utc_mm_player_stop_func.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_STOP_FUNC_H_ -#define __UTS_MM_PLAYER_STOP_FUNC_H_ - - -#include "utc_mm_player_common.h" - - - -void utc_mm_player_stop_func_01(); -void utc_mm_player_stop_func_02(); - - - - -#endif //__UTS_MM_PLAYER_STOP_FUNC_H_ diff --git a/TC/utc/utc_mm_player_unrealize_func.c b/TC/utc/utc_mm_player_unrealize_func.c deleted file mode 100755 index da89d0e..0000000 --- a/TC/utc/utc_mm_player_unrealize_func.c +++ /dev/null @@ -1,95 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "utc_mm_player_unrealize_func.h" - - - -struct tet_testlist tet_testlist[] = { - {utc_mm_player_unrealize_func_01, 1}, - {utc_mm_player_unrealize_func_02, 2}, - {NULL, 0} -}; - - -/** -* @brief This tests int mm_player_unrealize() API with valid parameter -* Create a player handle with valid parameter & Test the handle by playing -* @par ID utc_mm_player_unrealize_func_01 -* @param [in] &player = handle of player to be populated -* @return This function returns zero on success, or negative value with error code -*/ -void utc_mm_player_unrealize_func_01() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_unrealize(player); - - dts_check_eq(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return; -} - - -/** -* @brief This tests int mm_player_unrealize() API with invalid parameter -* Create a player handle with a NULL out param -* @par ID utc_mm_player_unrealize_func_02 -* @param [in] &player = NULL -* @return error code on success -*/ -void utc_mm_player_unrealize_func_02() -{ - MMHandleType player = 0; - int ret = 0; - - UTC_MM_PLAYER_CREATE(&player, ret); - - mm_player_set_attribute(player, - NULL, - "profile_uri", MP3_FILE, strlen(MP3_FILE), - NULL); - - UTC_MM_PLAYER_REALIZE(player, ret); - - ret = mm_player_unrealize(NULL); - - dts_check_ne(__func__, ret, MM_ERROR_NONE, "err=%x", ret ); - - UTC_MM_PLAYER_UNREALIZE(player, ret); - UTC_MM_PLAYER_DESTROY(player, ret); - - return ; -} diff --git a/TC/utc/utc_mm_player_unrealize_func.h b/TC/utc/utc_mm_player_unrealize_func.h deleted file mode 100755 index 2527b3e..0000000 --- a/TC/utc/utc_mm_player_unrealize_func.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#ifndef __UTS_MM_PLAYER_DESTROY_FUNC_H_ -#define __UTS_MM_PLAYER_DESTROY_FUNC_H_ - - -#include "utc_mm_player_common.h" - - -void utc_mm_player_unrealize_func_01(); -void utc_mm_player_unrealize_func_02(); - - -#endif //__UTS_MM_PLAYER_DESTROY_FUNC_H_ diff --git a/configure.ac b/configure.ac index 60d06d4..99fd7a3 100755 --- a/configure.ac +++ b/configure.ac @@ -71,19 +71,10 @@ PKG_CHECK_MODULES(GST_APP, gstreamer-app-0.10 >= 0.10) AC_SUBST(GST_APP_CFLAGS) AC_SUBST(GST_APP_LIBS) -PKG_CHECK_MODULES(APPFWK, appcore-efl) -AC_SUBST(APPFWK_CFLAGS) -AC_SUBST(APPFWK_LIBS) - -PKG_CHECK_MODULES(ELEMENTARY, elementary) -AC_SUBST(ELEMENTARY_CFLAGS) -AC_SUBST(ELEMENTARY_LIBS) - PKG_CHECK_MODULES(MMSESSION, mm-session) AC_SUBST(MMSESSION_CFLAGS) AC_SUBST(MMSESSION_LIBS) -# for testsuite PKG_CHECK_MODULES(MMUTIL, mmutil-imgp) AC_SUBST(MMUTIL_CFLAGS) AC_SUBST(MMUTIL_LIBS) @@ -92,18 +83,6 @@ PKG_CHECK_MODULES(AUDIOSESSIONMGR, audio-session-mgr) AC_SUBST(AUDIOSESSIONMGR_CFLAGS) AC_SUBST(AUDIOSESSIONMGR_LIBS) -PKG_CHECK_MODULES(ECORE_X, ecore-x) -AC_SUBST(ECORE_X_CFLAGS) -AC_SUBST(ECORE_X_LIBS) - -PKG_CHECK_MODULES(EVAS, evas) -AC_SUBST(EVAS_CFLAGS) -AC_SUBST(EVAS_LIBS) - -PKG_CHECK_MODULES(ECORE, ecore) -AC_SUBST(ECORE_CFLAGS) -AC_SUBST(ECORE_LIBS) - PKG_CHECK_MODULES(INIPARSER, iniparser) AC_SUBST(INIPARSER_CFLAGS) AC_SUBST(INIPARSER_LIBS) @@ -116,20 +95,8 @@ PKG_CHECK_MODULES(VCONF, vconf) AC_SUBST(VCONF_CFLAGS) AC_SUBST(VCONF_LIBS) -AC_ARG_ENABLE(sdk, AC_HELP_STRING([--enable-sdk], [sdk build]), - [ - case "${enableval}" in - yes) IS_SDK=yes ;; - no) IS_SDK=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-sdk) ;; - esac - ], -[IS_SDK=no]) -AM_CONDITIONAL([IS_SDK], [test "x$IS_SDK" = "xyes"]) - AC_CONFIG_FILES([Makefile src/Makefile - test/Makefile mm-player.pc ]) AC_OUTPUT diff --git a/debian/changelog b/debian/changelog deleted file mode 100755 index dcda713..0000000 --- a/debian/changelog +++ /dev/null @@ -1,2870 +0,0 @@ -libmm-player (0.2.63-0) unstable; urgency=low - - * set audio bitrate - - -- Younghwan Ahn Sat, 18 Aug 2012 14:16:08 +0900 - -libmm-player (0.2.62-0) unstable; urgency=low - - * Fix to set PAUSED state synchronously - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.62-0 - - -- YeJin Cho Mon, 30 Jul 2012 18:02:03 +0900 - -libmm-player (0.2.60-0) unstable; urgency=low - - * add missed codes for hlsdemux integration - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.60-0 - - -- Younghwan Ahn Fri, 27 Jul 2012 16:34:31 +0900 - -libmm-player (0.2.59-0) unstable; urgency=low - - * sync version with rpm spec - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.59-0 - - -- Younghwan Ahn Fri, 27 Jul 2012 14:49:07 +0900 - -libmm-player (0.2.57-0) unstable; urgency=low - - * 1. don't send error message duplicately 2. fix erroneous arithmetic operation - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.57-0 - - -- Younghwan Ahn Thu, 26 Jul 2012 18:52:33 +0900 - -libmm-player (0.2.56-0) unstable; urgency=low - - * Upload package for 0.2.55 version - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.56-0 - - -- YeJin Cho Thu, 26 Jul 2012 18:16:19 +0900 - -libmm-player (0.2.55-0) unstable; urgency=low - - * Fix to use memory buffer when total bytes of content could not be got - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.55-0 - - -- YeJin Cho Tue, 24 Jul 2012 16:19:00 +0900 - -libmm-player (0.2.54-0) unstable; urgency=low - - * fix memory leak when attribute is created - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.54-0 - - -- Younghwan Ahn Tue, 24 Jul 2012 12:29:46 +0900 - -libmm-player (0.2.53-0) unstable; urgency=low - - * support to set audio codec type with negotiated caps - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.53-0 - - -- Younghwan Ahn Mon, 16 Jul 2012 16:49:38 +0900 - -libmm-player (0.2.52-0) unstable; urgency=low - - * fix bug in sound effect - do preset filter range check starting from PRESET_AUTO not from PRESET_NORMAL - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.52-0 - - -- Sangchul Lee Fri, 13 Jul 2012 18:00:24 +0900 - -libmm-player (0.2.51-0) unstable; urgency=low - - * support stream info additionally - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.51-0 - - -- Younghwan Ahn Thu, 12 Jul 2012 18:16:31 +0900 - -libmm-player (0.2.50-0) unstable; urgency=low - - * pure hlsdemux integration - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.50-0 - - -- Younghwan Ahn Thu, 12 Jul 2012 15:49:32 +0900 - -libmm-player (0.2.49-0) unstable; urgency=low - - * fix bug in voice recorder - can't play after unrealize - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.49-0 - - -- Younghwan Ahn Fri, 06 Jul 2012 21:26:21 +0900 - -libmm-player (0.2.48-0) unstable; urgency=low - - * fix side effect of content duration - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.48-0 - - -- Younghwan Ahn Thu, 05 Jul 2012 18:50:17 +0900 - -libmm-player (0.2.47-0) unstable; urgency=low - - * Apply new sound effect API - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.47-0 - - -- Sangchul Lee Wed, 04 Jul 2012 11:33:30 +0900 - -libmm-player (0.2.46-0) unstable; urgency=low - - * Fix infinite plugging of parser on gstreamer 0.10.36 - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.46-0 - - -- Hyunseok Lee Thu, 28 Jun 2012 10:05:58 +0900 - -libmm-player (0.2.45-0) unstable; urgency=low - - * modify _mmplayer_updata_video_param() for applying scaling feature when using evas surface - * add "display_evas_do_scaling" and "display_evas_surface_sink" attributes for CAPI - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.45-0 - - -- Sangchul Lee Thu, 07 Jun 2012 12:15:03 +0900 - -libmm-player (0.2.44-0) unstable; urgency=low - - * Fix memory leak of vconf - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.44-0 - - -- Younghwan Ahn Sun, 27 May 2012 18:42:29 +0900 - -libmm-player (0.2.43-0) unstable; urgency=low - - * Modification ALP for compatibility with gstreamer plugins - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.43-0 - - -- Younghwan Ahn Thu, 24 May 2012 18:28:55 +0900 - -libmm-player (0.2.42-0) unstable; urgency=low - - * Add checking condition for ALP - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.42-0 - - -- Dowan Kim Tue, 22 May 2012 10:44:30 +0900 - -libmm-player (0.2.41-0) unstable; urgency=low - - * Fix to set previous state of state-changed message for application - * Fix to set READY state of player after stop it - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.41-0 - - -- YeJin Cho Mon, 21 May 2012 11:53:26 +0900 - -libmm-player (0.2.40-0) unstable; urgency=low - - * add to check audio effect flag from ini - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.40-0 - - -- Younghwan Ahn Tue, 15 May 2012 19:45:46 +0900 - -libmm-player (0.2.39-1) unstable; urgency=low - - * update changelog - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.39-1 - - -- Sangchul Lee Tue, 15 May 2012 10:12:34 +0900 - -libmm-player (0.2.39-0) unstable; urgency=low - - * get videosink element name from ini configuration file according to video surface - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.39-0 - - -- Sangchul Lee Thu, 10 May 2012 15:55:54 +0900 - -libmm-player (0.2.38-0) unstable; urgency=low - - * play sound over 2.0 rate for music only - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.38-0 - - -- Younghwan Ahn Fri, 04 May 2012 11:29:10 +0900 - -libmm-player (0.2.37-0) unstable; urgency=low - - * fix deadlock issue for amr playback - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.37-0 - - -- Younghwan Ahn Thu, 26 Apr 2012 16:42:31 +0900 - -libmm-player (0.2.36-0) unstable; urgency=low - - * add unlock to _apply_sound_filter - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.36-0 - - -- Younghwan Ahn Tue, 24 Apr 2012 18:20:33 +0900 - -libmm-player (0.2.35-0) unstable; urgency=low - - * apply system user-agent for hls - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.35-0 - - -- Younghwan Ahn Mon, 23 Apr 2012 17:16:26 +0900 - -libmm-player (0.2.34-0) unstable; urgency=low - - * Fix bug of caps double free - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.34-0 - - -- Younghwan Ahn Fri, 20 Apr 2012 14:59:43 +0900 - -libmm-player (0.2.33-0) unstable; urgency=low - - * Modify playlist of hls as ascending sort - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.33-0 - - -- Younghwan Ahn Tue, 10 Apr 2012 21:21:10 +0900 - -libmm-player (0.2.32-0) unstable; urgency=low - - * fix side effect for video callback - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.32-0 - - -- Younghwan Ahn Sat, 07 Apr 2012 15:49:00 +0900 - -libmm-player (0.2.31-0) unstable; urgency=low - - * Modification to use ximagesink - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.31-0 - - -- Younghwan Ahn Mon, 02 Apr 2012 20:09:47 +0900 - -libmm-player (0.2.30-0) unstable; urgency=low - - * Add videoscale to render I420 with non-multiple of 8 - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.30-0 - - -- Younghwan Ahn Sat, 31 Mar 2012 20:07:53 +0900 - -libmm-player (0.2.29-0) unstable; urgency=low - - * Add to select ALP only if mp3 audio - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.29-0 - - -- Sunghyun Eum Wed, 28 Mar 2012 13:57:25 +0900 - -libmm-player (0.2.28-0) unstable; urgency=low - - * Add message callback of progressive download - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.28-0 - - -- Younghwan Ahn Wed, 21 Mar 2012 08:17:37 +0900 - -libmm-player (0.2.27-0) unstable; urgency=low - - * Fix to check valid url using strlen - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.27-0 - - -- YeJin Cho Tue, 20 Mar 2012 11:19:36 +0900 - -libmm-player (0.2.26-0) unstable; urgency=low - - * Fix UA/Proxy default value to be set using vconf - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.26-0 - - -- YeJin Cho Mon, 19 Mar 2012 13:46:50 +0900 - -libmm-player (0.2.25-0) unstable; urgency=low - - * Add missed code - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.25-0 - - -- Younghwan Ahn Thu, 15 Mar 2012 13:54:55 +0900 - -libmm-player (0.2.24-0) unstable; urgency=low - - * support not to play video stream - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.24-0 - - -- Younghwan Ahn Thu, 08 Mar 2012 23:20:34 +0900 - -libmm-player (0.2.23-0) unstable; urgency=low - - * not apply hls queue2 with same settings of general http streaming - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.23-0 - - -- Younghwan Ahn Thu, 08 Mar 2012 21:06:59 +0900 - -libmm-player (0.2.22-0) unstable; urgency=low - - * change default ini file path from /opt/etc to /usr/etc - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.22-0 - - -- YeJin Cho Fri, 09 Mar 2012 16:17:55 +0900 - -libmm-player (0.2.21-0) unstable; urgency=low - - * remove msg lock - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.21-0 - - -- Younghwan Ahn Wed, 07 Mar 2012 17:30:48 +0900 - -libmm-player (0.2.20-0) unstable; urgency=low - - * 1. Modify player attribute 2. Apply default value of attribute - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.20-0 - - -- Younghwan Ahn Mon, 05 Mar 2012 18:19:23 +0900 - -libmm-player (0.2.19-0) unstable; urgency=low - - * 1. Fix PD not working issue 2. Modify PD APIs 3. Apply PD requirements - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.19-0 - - -- Younghwan Ahn Thu, 01 Mar 2012 20:45:14 +0900 - -libmm-player (0.2.18-0) unstable; urgency=low - - * remove useless enum - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.18-0 - - -- Younghwan Ahn Mon, 20 Feb 2012 17:40:04 +0900 - -libmm-player (0.2.17-0) unstable; urgency=low - - * fix bug of hls - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.17-0 - - -- Younghwan Ahn Wed, 15 Feb 2012 19:29:19 +0900 - -libmm-player (0.2.16-1) unstable; urgency=low - - * Add set_caps for omx - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.16-1 - - -- Sunghyun Eum Mon, 06 Feb 2012 16:31:48 +0900 - -libmm-player (0.2.16-0) unstable; urgency=low - - * Fix bug of checking seek in pause state - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.16-0 - - -- Younghwan Ahn Wed, 01 Feb 2012 20:26:16 +0900 - -libmm-player (0.2.15-2) unstable; urgency=low - - * Apply the accurate seek - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.15-2 - - -- Dowan Kim Fri, 27 Jan 2012 17:38:50 +0900 - -libmm-player (0.2.15-1) unstable; urgency=low - - * Modify point to post MM_MESSAGE_SEEK_COMPLETED - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.15-1 - - -- Younghwan Ahn Fri, 20 Jan 2012 17:05:51 +0900 - -libmm-player (0.2.15-0) unstable; urgency=low - - * Add subtitle adjusting api - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.15-0 - - -- YeJin Cho Thu, 19 Jan 2012 14:21:06 +0900 - -libmm-player (0.2.13-2) unstable; urgency=low - - * Fix buffering related deafult value and state handling - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.14-0 - - -- YeJin Cho Thu, 12 Jan 2012 16:16:12 +0900 - -libmm-player (0.2.13-1) unstable; urgency=low - - * fix merge error for submit conflit - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.13-1 - - -- Younghwan Ahn Fri, 06 Jan 2012 19:30:35 +0900 - -libmm-player (0.2.13-0) unstable; urgency=low - - * Add content_video_found and content_audio_found attributes - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.13-0 - - -- YeJin Cho Thu, 05 Jan 2012 15:39:03 +0900 - -libmm-player (0.2.12-0) unstable; urgency=low - - * Add state-tuning property - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.12-0 - - -- Younghwan Ahn Tue, 05 Jan 2012 17:47:15 +0900 - -libmm-player (0.2.11-30) unstable; urgency=low - - * Add license and COPYING for LGPL license. - * Add note mm_player_m3u8.c and mm_player_m3u8.h for noticing what changed from m3u8.c and m3u8.h LGPL code. - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-30 - - -- YeJin Cho Thu, 05 Jan 2012 14:47:20 +0900 - -libmm-player (0.2.11-29) unstable; urgency=low - - * Seperate streaming code from priv and cleanup - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-29 - - -- YeJin Cho Tue, 03 Jan 2012 18:21:26 +0900 - -libmm-player (0.2.11-28) unstable; urgency=low - - * Enable codec switching - * Use real resolution to convert NV12T - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-28 - - -- Younghwan Ahn Wed, 28 Dec 2011 14:23:53 +0900 - -libmm-player (0.2.11-27) unstable; urgency=low - - * Update buffering algorithm - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-27 - - -- YeJin Cho Wed, 21 Dec 2011 18:37:19 +0900 - -libmm-player (0.2.11-26) unstable; urgency=low - - * Source code cleanup - modify dnse header name - * Git : slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-26 - - -- Younghwan Ahn Wed, 21 Dec 2011 15:56:09 +0900 - -libmm-player (0.2.11-25) unstable; urgency=low - - * Source code cleanup - add missed codes for 0.2.11-24 - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-25 - - -- Younghwan Ahn Tue, 20 Dec 2011 17:56:10 +0900 - -libmm-player (0.2.11-24) unstable; urgency=low - - * Source code cleanup - make video capture separately - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-24 - - -- Younghwan Ahn Mon, 19 Dec 2011 17:37:47 +0900 - -libmm-player (0.2.11-23) unstable; urgency=low - - * Source code cleanup - Replace license as apache v2.0 - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-23 - - -- Younghwan Ahn Wed, 14 Dec 2011 16:51:57 +0900 - -libmm-player (0.2.11-22) unstable; urgency=low - - * Source code cleanup - remove glib conflict code - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-22 - - -- Younghwan Ahn Tue, 13 Dec 2011 12:41:28 +0900 - -libmm-player (0.2.11-21) unstable; urgency=low - - * Source code cleanup - remove factory package (not used any more) - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-21 - - -- Younghwan Ahn Fri, 09 Dec 2011 14:58:57 +0900 - -libmm-player (0.2.11-20) unstable; urgency=low - - * Source code cleanup - clean ini file - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-20 - - -- YeJin Cho Tue, 06 Dec 2011 22:15:38 +0900 - -libmm-player (0.2.11-19) unstable; urgency=low - - * Fix Makefile due to license problem(LGPL/Appach) - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-19 - - -- YeJin Cho Tue, 06 Dec 2011 17:09:48 +0900 - -libmm-player (0.2.11-18) unstable; urgency=low - - * Fix to set file ring buffer size using available storage size for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-18 - - -- YeJin Cho Wed, 30 Nov 2011 17:00:25 +0900 - -libmm-player (0.2.11-17) unstable; urgency=low - - * Fix to update buffer size for audio only streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-17 - - -- YeJin Cho Mon, 28 Nov 2011 11:41:21 +0900 - -libmm-player (0.2.11-16) unstable; urgency=low - - * Fix to extend blocksize for http streaming source to read more per buffer - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-16 - - -- YeJin Cho Fri, 25 Nov 2011 14:07:28 +0900 - -libmm-player (0.2.11-15) unstable; urgency=low - - * Fix to pause/resume hls playing aysnc like the other streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-15 - - -- YeJin Cho Fri, 25 Nov 2011 10:58:08 +0900 - -libmm-player (0.2.11-14) unstable; urgency=low - - * Fix to set state field when player post both MM_MESSAGE_STATE_INTERRUPTED and MM_MESSAGE_STATE_CHANGED - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-14 - - -- YeJin Cho Thu, 24 Nov 2011 15:47:38 +0900 - -libmm-player (0.2.11-13) unstable; urgency=low - - * Fix to set player state PLAYING when start streaming player - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-13 - - -- YeJin Cho Tue, 22 Nov 2011 13:48:30 +0900 - -libmm-player (0.2.11-12) unstable; urgency=low - - * add error handling when one video frame is probed - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-12 - - -- Younghwan Ahn Wed, 16 Nov 2011 14:35:47 +0900 - -libmm-player (0.2.11-11) unstable; urgency=low - - * add mutex to destroy bookmark thread well - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-11 - - -- Younghwan Ahn Tue, 15 Nov 2011 20:51:43 +0900 - -libmm-player (0.2.11-10) unstable; urgency=low - - * Fix to post MM_MESSAGE_STATE_INTERRUPTED for asm try to pause streaming playing - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-10 - - -- YeJin Cho Wed, 09 Nov 2011 16:35:52 +0900 - -libmm-player (0.2.11-9) unstable; urgency=low - - * Enable file-ring-buffer for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-9 - - -- YeJin Cho Wed, 09 Nov 2011 15:14:35 +0900 - -libmm-player (0.2.11-8) unstable; urgency=low - - * fix bs of pcm extraction - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-8 - - -- Younghwan Ahn Tue, 08 Nov 2011 12:52:19 +0900 - -libmm-player (0.2.11-7) unstable; urgency=low - - * add missed patch for hls issue - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-7 - - -- Younghwan Ahn Wed, 26 Oct 2011 19:08:44 +0900 - -libmm-player (0.2.11-6) unstable; urgency=low - - * Fix bug to pause asm state in _mmplayer_pause() - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-6 - - -- YeJin Cho Wed, 26 Oct 2011 16:00:39 +0900 - -libmm-player (0.2.11-5) unstable; urgency=low - - * Fix hls stop issue and change manifest order to listen first - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-5 - - -- Younghwan Ahn Wed, 26 Oct 2011 14:34:04 +0900 - -libmm-player (0.2.11-4) unstable; urgency=low - - * Fix to pause asm state - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-4 - - -- YeJin Cho Wed, 26 Oct 2011 14:10:13 +0900 - -libmm-player (0.2.11-3) unstable; urgency=low - - * Fix to update buffering message after pipeline construction is done. - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-3 - - -- YeJin Cho Mon, 24 Oct 2011 14:56:11 +0900 - -libmm-player (0.2.11-2) unstable; urgency=low - - * add error handling of sound extraction - * move probe point to pause state - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-2 - - -- Younghwan Ahn Sat, 22 Oct 2011 13:44:31 +0900 - -libmm-player (0.2.11-1) unstable; urgency=low - - * modify attribute of progressive mode - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-1 - - -- Younghwan Ahn Tue, 18 Oct 2011 15:09:19 +0900 - -libmm-player (0.2.11-0) unstable; urgency=low - - * add initial progressive download - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.11-0 - - -- Younghwan Ahn Mon, 17 Oct 2011 19:58:25 +0900 - -libmm-player (0.2.10-9) unstable; urgency=low - - * Fix to update buffering message in case of rtsp streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-9 - - -- YeJin Cho Mon, 17 Oct 2011 19:01:53 +0900 - -libmm-player (0.2.10-8) unstable; urgency=low - - * link video parser for supporting .ts - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-8 - - -- Younghwan Ahn Fri, 14 Oct 2011 17:53:44 +0900 - -libmm-player (0.2.10-7) unstable; urgency=low - - * fix manifest file length issue and add error handling - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-7 - - -- Younghwan Ahn Thu, 13 Oct 2011 16:26:20 +0900 - -libmm-player (0.2.10-6) unstable; urgency=low - - * Fix http streaming timeout 10 to 30 seconds - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-6 - - -- YeJin Cho Thu, 13 Oct 2011 11:16:50 +0900 - -libmm-player (0.2.10-5) unstable; urgency=low - - * fix codes commented by prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-5 - - -- Younghwan Ahn Tue, 11 Oct 2011 21:05:20 +0900 - -libmm-player (0.2.10-4) unstable; urgency=low - - * Fix to set asm state after player state change is completed. - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-4 - - -- YeJin Cho Mon, 10 Oct 2011 19:03:45 +0900 - -libmm-player (0.2.10-3) unstable; urgency=low - - * Fix to post buffering message after pipeline is fully constructed. - * Fix to set state PLAYING in __gst_start in case of streaming - * Fix not to update contents attribtues when GST_MESSAGE_DURATION is arrived in case of streaming - * Remove unused ini feature - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-3 - - -- YeJin Cho Fri, 07 Oct 2011 15:37:12 +0900 - -libmm-player (0.2.10-2) unstable; urgency=low - - * add new message for seek completion - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-2 - - -- Younghwan Ahn Thu, 06 Oct 2011 10:31:10 +0900 - -libmm-player (0.2.10-1) unstable; urgency=low - - * fix bug to post message at same state - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-1 - - -- Younghwan Ahn Thu, 06 Oct 2011 09:12:41 +0900 - -libmm-player (0.2.10-0) unstable; urgency=low - - * add queue2, increase version up for hls - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.10-0 - - -- Younghwan Ahn Fri, 30 Sep 2011 11:37:46 +0900 - -libmm-player (0.2.9-32) unstable; urgency=low - - * Add the MMPLAYER_PAD_PROBE for debugging of gstbuffer timestamp - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-32 - - -- YeJin Cho Thu, 29 Sep 2011 14:27:19 +0900 - -libmm-player (0.2.9-31) unstable; urgency=low - - * Fix to play mp3 audio streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-31 - - -- YeJin Cho Thu, 22 Sep 2011 16:35:44 +0900 - -libmm-player (0.2.9-30) unstable; urgency=low - - * HLS initial version implemented - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-30 - - -- Younghwan Ahn Wed, 21 Sep 2011 16:04:27 +0900 - -libmm-player (0.2.9-29) unstable; urgency=low - - * fix bug to set property for no audiobin - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-29 - - -- Younghwan Ahn Thu, 15 Sep 2011 15:23:35 +0900 - -libmm-player (0.2.9-28) unstable; urgency=low - - * modify bookmark to fix U1 and noise frame issue - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-28 - - -- Younghwan Ahn Fri, 09 Sep 2011 19:39:20 +0900 - -libmm-player (0.2.9-27) unstable; urgency=low - - * update duration whenever required - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-27 - - -- Younghwan Ahn Thu, 01 Sep 2011 14:21:20 +0900 - -libmm-player (0.2.9-26) unstable; urgency=low - - * modify bookmark api to use mm_util - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-26 - - -- Younghwan Ahn Wed, 31 Aug 2011 20:38:15 +0900 - -libmm-player (0.2.9-25) unstable; urgency=low - - * Fix to play from pending seek position - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-25 - - -- YeJin Cho Wed, 31 Aug 2011 17:18:19 +0900 - -libmm-player (0.2.9-24) unstable; urgency=low - - * Fix the pipeline structure for http streaming to support pull-based mode - * Fix the buffering state changing - * Re-arrange getreamer message - * Fix ini bug of temp-template setting for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-24 - - -- YeJin Cho Wed, 31 Aug 2011 14:21:22 +0900 - -libmm-player (0.2.9-23) unstable; urgency=low - - * fix side effect of mute and interrupted msg by asm - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-23 - - -- Younghwan Ahn Mon, 29 Aug 2011 19:09:49 +0900 - -libmm-player (0.2.9-22) unstable; urgency=low - - * fix link error - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-22 - - -- Younghwan Ahn Fri, 05 Aug 2011 10:36:26 +0900 - -libmm-player (0.2.9-21) unstable; urgency=low - - * modify capture API to support bookmark in emulator - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-21 - - -- Younghwan Ahn Thu, 04 Aug 2011 21:05:44 +0900 - -libmm-player (0.2.9-20) unstable; urgency=low - - * Fix set/check player state : add target/pending state - * Fix bug for posting error message before pipeline is completed - * Fix buffering message handling mechanism - * Code Cleanup - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-20 - - -- YeJin Cho Thu, 28 Jul 2011 17:55:37 +0900 - -libmm-player (0.2.9-19) unstable; urgency=low - - * Fix to start after stop - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-19 - - -- YeJin Cho Thu, 28 Jul 2011 17:47:27 +0900 - -libmm-player (0.2.9-18) unstable; urgency=low - - * Fix bug for checking live streaming (pause/resume problem in rtsp streaming) - * Fix to set state of player after changing is done - * Code cleanup - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-18 - - -- YeJin Cho Mon, 25 Jul 2011 16:11:10 +0900 - -libmm-player (0.2.9-17) unstable; urgency=low - - * Fix for audiosink to set sync FALSE for rtsp streaming - * Move some api to util - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-17 - - -- YeJin Cho Thu, 21 Jul 2011 16:08:09 +0900 - -libmm-player (0.2.9-16) unstable; urgency=low - - * fix bug for setting use's requested size to fimcconvert - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-16 - - -- Younghwan Ahn Tue, 19 Jul 2011 17:57:16 +0900 - -libmm-player (0.2.9-15) unstable; urgency=low - - * rollback stop logic - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-15 - - -- Younghwan Ahn Mon, 18 Jul 2011 10:56:22 +0900 - -libmm-player (0.2.9-14) unstable; urgency=low - - * Fix to use h/w codec in case of rtsp streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-14 - - -- YeJin Cho Fri, 15 Jul 2011 16:42:39 +0900 - -libmm-player (0.2.9-13) unstable; urgency=low - - * Fix to return FALSE for unsupported uri prefix - * Fix not to pause the pipeline when __gst_stop() is called - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-13 - - -- YeJin Cho Thu, 14 Jul 2011 19:33:13 +0900 - -libmm-player (0.2.9-12) unstable; urgency=low - - * code cleanup - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-12 - - -- Younghwan Ahn Thu, 14 Jul 2011 10:37:22 +0900 - -libmm-player (0.2.9-11) unstable; urgency=low - - * Fix to return MM_ERROR_PLAYER_NOT_SUPPORTED_FORMAT for mms streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-11 - - -- YeJin Cho Wed, 13 Jul 2011 14:40:06 +0900 - -libmm-player (0.2.9-10) unstable; urgency=low - - * Fix bug to link of dynamic pad with local file - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-10 - - -- Younghwan Ahn Thu, 30 Jun 2011 11:37:57 +0900 - -libmm-player (0.2.9-9) unstable; urgency=low - - * Fox to check state if try to stop the player - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-9 - - -- YeJin Cho Mon, 30 May 2011 15:30:58 +0900 - -libmm-player (0.2.9-8) unstable; urgency=low - - * Fix to set cookies as string array for souphttpsrc plugin - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-8 - - -- YeJin Cho Fri, 20 May 2011 05:40:56 +0900 - -libmm-player (0.2.9-7) unstable; urgency=low - - * Update buffering mechanism for streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-7 - - -- YeJin Cho Wed, 18 May 2011 18:45:22 +0900 - -libmm-player (0.2.9-6) unstable; urgency=low - - * Update ini config file - * Add http tcp connection timeout for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-6 - - -- YeJin Cho Thu, 12 May 2011 13:52:49 +0900 - -libmm-player (0.2.9-5) unstable; urgency=low - - * Fix CFLAGS in debian/rules - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-5 - - -- YeJin Cho Tue, 03 May 2011 13:40:52 +0900 - -libmm-player (0.2.9-4) unstable; urgency=low - - * Fix not to pause during async start in case of http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-4 - - -- YeJin Cho Mon, 02 May 2011 17:28:40 +0900 - -libmm-player (0.2.9-3) unstable; urgency=low - - * reorder param of video callback - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-3 - - -- YoungHwan Fri, 22 Apr 2011 17:27:05 +0900 - -libmm-player (0.2.9-2) unstable; urgency=low - - * modify param of video callback - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-2 - - -- YoungHwan Thu, 21 Apr 2011 14:34:43 +0900 - -libmm-player (0.2.9-1) unstable; urgency=low - - * Fix to check proxy ip validation - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-1 - - -- YeJin Cho Tue, 19 Apr 2011 14:51:05 +0900 - -libmm-player (0.2.9-0) unstable; urgency=low - - * [H0100124243] Fix lazy pause crash - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.9-0 - - -- Seungbae Shin Fri, 15 Apr 2011 15:17:28 +0900 - -libmm-player (0.2.8-43) unstable; urgency=low - - * Change the mm_player_get_buffer_position api - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-43 - - -- YeJin Cho Mon, 11 Apr 2011 17:49:14 +0900 - -libmm-player (0.2.8-42) unstable; urgency=low - - * fix size bug for rgb 32bits - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-42 - - -- YoungHwan Ahn Mon, 11 Apr 2011 14:59:26 +0900 - -libmm-player (0.2.8-41) unstable; urgency=low - - * fix bug for sending stream size when video callback is used. - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-41 - - -- YoungHwan Ahn Fri, 08 Apr 2011 18:08:22 +0900 - -libmm-player (0.2.8-40) unstable; urgency=low - - * modify video capture using dlopen and ini path - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-40 - - -- YoungHwan Ahn Thu, 07 Apr 2011 16:12:50 +0900 - -libmm-player (0.2.8-39) unstable; urgency=low - - * fix bug not to post BOS during seeking - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-39 - - -- YoungHwan Ahn Wed, 06 Apr 2011 15:22:22 +0900 - -libmm-player (0.2.8-38) unstable; urgency=low - - * Fix to set position after checking state of the pipleline is done successfully - * Fix to handle buffering message - * Fix to not to set position before whole pipeline is constructed in case of http streaming - * Remove progress download feature - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-38 - - -- YeJin Cho Tue, 05 Apr 2011 16:48:38 +0900 - -libmm-player (0.2.8-37) unstable; urgency=low - - * update changelog - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-37 - - -- YoungHwan Ahn Wed, 30 Mar 2011 17:59:55 +0900 - -libmm-player (0.2.8-36) unstable; urgency=low - - * modify ini default path - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-36 - - -- YoungHwan Ahn Thu, 24 Mar 2011 14:31:48 +0900 - -libmm-player (0.2.8-35) unstable; urgency=low - - * Fix to set valid buffering limits - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-35 - - -- YeJin Cho Wed, 16 Mar 2011 17:35:07 +0900 - -libmm-player (0.2.8-34) unstable; urgency=low - - * update changelog - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-34 - - -- YoungHwan Ahn Mon, 14 Mar 2011 11:16:45 +0900 - -libmm-player (0.2.8-33) unstable; urgency=low - - * Handle DivX DRM error message - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-33 - - -- Seungbae Shin Mon, 07 Mar 2011 19:06:23 +0900 - -libmm-player (0.2.8-32) unstable; urgency=low - - * Enum buffering percent for streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-32 - - -- YeJin Cho Mon, 07 Mar 2011 16:44:37 +0900 - -libmm-player (0.2.8-31) unstable; urgency=low - - * Fix to change state after pipeline constructed completely for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-31 - - -- YeJin Cho Mon, 07 Mar 2011 14:48:32 +0900 - -libmm-player (0.2.8-30) unstable; urgency=low - - * update changelog - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-30 - - -- YoungHwan Ahn Thu, 24 Feb 2011 20:13:02 +0900 - -libmm-player (0.2.8-29) unstable; urgency=low - - * fix code commented by prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-29 - - -- YoungHwan Ahn Thu, 17 Feb 2011 19:20:50 +0900 - -libmm-player (0.2.8-28) unstable; urgency=low - - * remove ffmpegcolorspace from default ini - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-28 - - -- YoungHwan Ahn Thu, 17 Feb 2011 13:21:45 +0900 - -libmm-player (0.2.8-27) unstable; urgency=low - - * fix side effect for downloadable demuxer when missed plugin is checked - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-27 - - -- YoungHwan Ahn Tue, 15 Feb 2011 21:21:33 +0900 - -libmm-player (0.2.8-26) unstable; urgency=low - - * fix bug commented by prevent - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-26 - - -- YoungHwan Ahn Mon, 14 Feb 2011 18:13:20 +0900 - -libmm-player (0.2.8-25) unstable; urgency=low - - * update unit test cases - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-25 - - -- YoungHwan Ahn Mon, 14 Feb 2011 13:52:22 +0900 - -libmm-player (0.2.8-24) unstable; urgency=low - - * support downloadable demuxer - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-24 - - -- YoungHwan Ahn Wed, 09 Feb 2011 12:17:36 +0900 - -libmm-player (0.2.8-23) unstable; urgency=low - - * Support multiplane buffer on video capture - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-23 - - -- Seungbae Shin Tue, 08 Feb 2011 22:24:26 +0900 - -libmm-player (0.2.8-22) unstable; urgency=low - - * Fix to unrealize the whole pipeline when stop http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-21 - - -- YeJin Cho Wed, 26 Jan 2011 18:43:13 +0900 - -libmm-player (0.2.8-21) unstable; urgency=low - - * fix arm-wb, remove ini, fix tc build error - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-21 - - -- YoungHwan Ahn Mon, 17 Jan 2011 13:21:04 +0900 - -libmm-player (0.2.8-20) unstable; urgency=low - - * Fix the error message of the http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-20 - - -- YeJin Cho Tue, 21 Dec 2010 15:37:11 +0900 - -libmm-player (0.2.8-19) unstable; urgency=low - - * Fix the location of the temp file for http streaming - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-19 - - -- YeJin Cho Thu, 16 Dec 2010 18:07:12 +0900 - -libmm-player (0.2.8-18) unstable; urgency=low - - * Fix to set player's state in buffering and add an api for getting buffer position - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-18 - - -- YeJin Cho Tue, 14 Dec 2010 18:05:24 +0900 - -libmm-player (0.2.8-17) unstable; urgency=low - - * Fix audiosink property setting - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-17 - - -- Seungbae Shin Tue, 14 Dec 2010 16:20:26 +0900 - -libmm-player (0.2.8-16) unstable; urgency=low - - * Add libsavscodec dependancy for runtime package - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-16 - - -- Seungbae Shin Fri, 10 Dec 2010 11:14:28 +0900 - -libmm-player (0.2.8-15) unstable; urgency=low - - * add missed code for libmm-player_0.2.8-13 - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-15 - - -- YoungHwan Ahn Wed, 08 Dec 2010 11:40:19 +0900 - -libmm-player (0.2.8-14) unstable; urgency=low - - * Remove libsavscodec dependancy from runtime package - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-14 - - -- Seungbae Shin Tue, 07 Dec 2010 20:50:35 +0900 - -libmm-player (0.2.8-13) unstable; urgency=low - - * add property of fimcconvert - * Git : 165.213.180.234:slp/pkgs/l/libmm-player - * Tag : libmm-player_0.2.8-13 - - -- YoungHwan Ahn Tue, 07 Dec 2010 19:36:06 +0900 - -libmm-player (0.2.8-12) unstable; urgency=low - - * Fix to update buffering property when pipeline goes to PAUSED state - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-12 - - -- YeJin Cho Tue, 07 Dec 2010 10:04:51 +0900 - -libmm-player (0.2.8-11) unstable; urgency=low - - * Clean pc and debian/control - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-11 - - -- Seungbae Shin Sat, 04 Dec 2010 18:57:27 +0900 - -libmm-player (0.2.8-10) unstable; urgency=low - - * Fix bugs in http streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-10 - - -- Seungbae Shin Fri, 03 Dec 2010 21:17:01 +0900 - -libmm-player (0.2.8-9) unstable; urgency=low - - * Update initial buffer size for http streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-9 - - -- YeJin Cho Fri, 03 Dec 2010 20:03:18 +0900 - -libmm-player (0.2.8-8) unstable; urgency=low - - * Update buffering management for http streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-8 - - -- YeJin Cho Fri, 03 Dec 2010 19:23:21 +0900 - -libmm-player (0.2.8-7) unstable; urgency=low - - * Link iniparser as static library - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-7 - - -- Seungbae Shin Fri, 03 Dec 2010 18:24:11 +0900 - -libmm-player (0.2.8-6) unstable; urgency=low - - * Fix B/S when proyx is set to NULL - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-6 - - -- YeJin Cho Fri, 03 Dec 2010 12:04:08 +0900 - -libmm-player (0.2.8-5) unstable; urgency=low - - * add fadedown when player is stopped. - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-5 - - -- YoungHwan Ahn Thu, 02 Dec 2010 17:11:00 +0900 - -libmm-player (0.2.8-4) unstable; urgency=low - - * fix dnse build error - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-4 - - -- YoungHwan Ahn Wed, 01 Dec 2010 14:52:31 +0900 - -libmm-player (0.2.8-3) unstable; urgency=low - - * modify capture logic to free buffer well by application - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-3 - - -- YoungHwan Ahn Mon, 29 Nov 2010 16:53:49 +0900 - -libmm-player (0.2.8-2) unstable; urgency=low - - * Fix EOS problem - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-2 - - -- KwangHui Cho Mon, 29 Nov 2010 14:07:28 +0900 - -libmm-player (0.2.8-1) unstable; urgency=low - - * fix side effect code for EOS - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-1 - - -- YoungHwan Ahn Fri, 26 Nov 2010 17:41:22 +0900 - -libmm-player (0.2.8-0) unstable; urgency=low - - * apply avsysaudiosink "latency" property - * update asm callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.8-0 - - -- KwangHui Cho Fri, 26 Nov 2010 16:03:50 +0900 - -libmm-player (0.2.7-10) unstable; urgency=low - - * Fix for as-needed - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-10 - - -- Seungbae Shin Wed, 24 Nov 2010 20:53:55 +0900 - -libmm-player (0.2.7-9) unstable; urgency=low - - * Check proxy if it's valid or not for http streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-9 - - -- YeJin Cho Wed, 24 Nov 2010 14:44:13 +0900 - -libmm-player (0.2.7-8) unstable; urgency=low - - * update video resource status when video is linked - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-8 - - -- YoungHwan Ahn Tue, 23 Nov 2010 21:54:10 +0900 - -libmm-player (0.2.7-7) unstable; urgency=low - - * increase version - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-7 - - -- YoungHwan Ahn Tue, 23 Nov 2010 14:09:11 +0900 - -libmm-player (0.2.7-6) unstable; urgency=low - - * Update doxygen and modify return value of API - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-6 - - -- YoungHwan Ahn Mon, 22 Nov 2010 22:12:51 +0900 - -libmm-player (0.2.7-5) unstable; urgency=low - - * Fix http streaming buffering argument - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-5 - - -- YeJin Cho Thu, 18 Nov 2010 17:04:52 +0900 - -libmm-player (0.2.7-4) unstable; urgency=low - - * Add fPIC and hash-style - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-4 - - -- Seungbae Shin Thu, 18 Nov 2010 13:54:35 +0900 - -libmm-player (0.2.7-3) unstable; urgency=low - - * Update asm code - use stored asm event type - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-3 - - -- KwangHui Cho Wed, 17 Nov 2010 11:20:27 +0900 - -libmm-player (0.2.7-2) unstable; urgency=low - - * Fix http streaming buffering - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-2 - - -- YeJin Cho Thu, 11 Nov 2010 16:41:27 +0900 - -libmm-player (0.2.7-1) unstable; urgency=low - - * check savs localplayback to link fimcconvert - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-1 - - -- YoungHwan Ahn Tue, 09 Nov 2010 19:54:23 +0900 - -libmm-player (0.2.7-0) unstable; urgency=low - - * Use hw-accel ini value - * Install ini file when installing package - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.7-0 - - -- Seungbae Shin Tue, 09 Nov 2010 16:39:28 +0900 - -libmm-player (0.2.6-12) unstable; urgency=low - - * Update asm pause callback to prevent voicerecorder recording end of music play - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-12 - - -- KwangHui Cho Thu, 04 Nov 2010 08:07:08 +0900 - -libmm-player (0.2.6-11) unstable; urgency=low - - * Fix to use souphttpsrc plugin for http streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-11 - - -- YeJin Cho Thu, 28 Oct 2010 15:16:40 +0900 - -libmm-player (0.2.6-10) unstable; urgency=low - - * update asm pause callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-10 - - -- KwangHui Cho Wed, 27 Oct 2010 13:48:09 +0900 - -libmm-player (0.2.6-9) unstable; urgency=low - - * remove commented plugins - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-9 - - -- YoungHwan Ahn Wed, 27 Oct 2010 11:19:46 +0900 - -libmm-player (0.2.6-8) unstable; urgency=low - - * remove __mmplayer_init_command() - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-8 - - -- YoungHwan Ahn Tue, 26 Oct 2010 17:11:34 +0900 - -libmm-player (0.2.6-7) unstable; urgency=low - - * add MMPLAYER_COMMAND_NONE - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-7 - - -- YoungHwan Ahn Tue, 26 Oct 2010 15:28:37 +0900 - -libmm-player (0.2.6-6) unstable; urgency=low - - * Update programming guide for subtitle - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-6 - - -- YeJin Cho Mon, 25 Oct 2010 17:12:24 +0900 - -libmm-player (0.2.6-5) unstable; urgency=low - - * can resample and support segment extraction for PCM - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-5 - - -- YoungHwan Ahn Mon, 25 Oct 2010 14:37:39 +0900 - -libmm-player (0.2.6-4) unstable; urgency=low - - * Update ASM callback (fadedown effect on pause) - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-4 - - -- KwangHui Cho Mon, 25 Oct 2010 11:21:08 +0900 - -libmm-player (0.2.6-3) unstable; urgency=low - - * Fix missing B.O.S - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-3 - - -- Seungbae Shin Fri, 22 Oct 2010 13:56:57 +0900 - -libmm-player (0.2.6-2) unstable; urgency=low - - * Add fadedown mute effect on asm pause callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-2 - - -- Kwanghui Cho Thu, 21 Oct 2010 12:14:21 +0900 - -libmm-player (0.2.6-1) unstable; urgency=low - - * ASM callback bug fix - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-1 - - -- Kwanghui Cho Thu, 21 Oct 2010 10:58:35 +0900 - -libmm-player (0.2.6-0) unstable; urgency=low - - * accept tag application mime type - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.6-0 - - -- Seungbae Shin Wed, 20 Oct 2010 17:56:35 +0900 - -libmm-player (0.2.5-10) unstable; urgency=low - - * remove binary file - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-10 - - -- YoungHwan Ahn Mon, 18 Oct 2010 19:01:16 +0900 - -libmm-player (0.2.5-9) unstable; urgency=low - - * code clean up for attributes and update doxygen - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-9 - - -- YoungHwan Ahn Mon, 11 Oct 2010 21:25:12 +0900 - -libmm-player (0.2.5-8) unstable; urgency=low - - * fix to use h/w codec for local playback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-8 - - -- Seungbae Shin Fri, 08 Oct 2010 13:22:10 +0900 - -libmm-player (0.2.5-7) unstable; urgency=low - - * Fix to use S/W codec for rtsp streaming - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-7 - - -- YeJin Cho Thu, 07 Oct 2010 15:56:26 +0900 - -libmm-player (0.2.5-6) unstable; urgency=low - - * Update api document to describe streaming playback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-6 - - -- YeJin Cho Thu, 07 Oct 2010 15:45:06 +0900 - -libmm-player (0.2.5-5) unstable; urgency=low - - * remove display type - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-5 - - -- YoungHwan Ahn Wed, 06 Oct 2010 19:26:44 +0900 - -libmm-player (0.2.5-4) unstable; urgency=low - - * add fimcconvert and rollback buffer_callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-4 - - -- YoungHwan Ahn Wed, 06 Oct 2010 13:40:10 +0900 - -libmm-player (0.2.5-3) unstable; urgency=low - - * add sound_extraction property - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-3 - - -- YoungHwan Ahn Mon, 04 Oct 2010 16:10:16 +0900 - -libmm-player (0.2.5-2) unstable; urgency=low - - * update asm callback to post event source of asm event by msg callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-2 - - -- Kwanghui Cho Mon, 04 Oct 2010 12:07:19 +0900 - -libmm-player (0.2.5-1) unstable; urgency=low - - * Add session type Replace & Alarm - * post asm event source via msg callback - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-1 - - -- Kwanghui Cho Mon, 04 Oct 2010 12:04:26 +0900 - -libmm-player (0.2.5-0) unstable; urgency=low - - * Remove libappcore-efl-dev, libefreet-dev from dev package dependancy. - * Volume API deprecated, apply volume type policy - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.5-0 - - -- Seungbae Shin Mon, 27 Sep 2010 15:41:01 +0900 - -libmm-player (0.2.4-14) unstable; urgency=low - - * Revert "Don't build testsuite" - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-14 - - -- Seungbae Shin Fri, 24 Sep 2010 17:30:36 +0900 - -libmm-player (0.2.4-13) unstable; urgency=low - - * Support display visible property - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-13 - - -- YoungHwan Ahn Mon, 20 Sep 2010 21:09:29 +0900 - -libmm-player (0.2.4-12) unstable; urgency=low - - * Exclude testsuite from build - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-12 - -- Seungbae Shin Mon, 20 Sep 2010 20:23:31 +0900 - -libmm-player (0.2.4-11) unstable; urgency=low - - * Support audio data callback for SplusA - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-11 - - -- Seungbae Shin Mon, 20 Sep 2010 19:49:09 +0900 - -libmm-player (0.2.4-10) unstable; urgency=low - - * remove attrs.h from player header - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-10 - - -- YoungHwan Ahn Fri, 17 Sep 2010 20:29:34 +0900 - -libmm-player (0.2.4-9) unstable; urgency=low - - * rename tc - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-9 - - -- YoungHwan Ahn Fri, 17 Sep 2010 14:35:44 +0900 - -libmm-player (0.2.4-8) unstable; urgency=low - - * Add build dependency for common-internal - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-8 - - -- YoungHwan Ahn Fri, 17 Sep 2010 13:32:21 +0900 - -libmm-player (0.2.4-7) unstable; urgency=low - - * Add Unit Test Case - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-7 - - -- YoungHwan Ahn Wed, 15 Sep 2010 23:37:36 +0900 - -libmm-player (0.2.4-6) unstable; urgency=low - - * Fix build error temporarily - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-6 - - -- YoungHwan Ahn Tue, 14 Sep 2010 14:22:51 +0900 - -libmm-player (0.2.4-5) unstable; urgency=low - - * Modify ASM to update policy - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-5 - - -- YoungHwan Ahn Tue, 14 Sep 2010 13:25:13 +0900 - -libmm-player (0.2.4-4) unstable; urgency=low - - * Remove bt module dependancy - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-4 - - -- Seungbae Shin Mon, 13 Sep 2010 20:06:54 +0900 - -libmm-player (0.2.4-3) unstable; urgency=low - - * Exclude savs parser (mp3,aac,ac3) - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-3 - - -- Seungbae Shin Mon, 13 Sep 2010 20:01:41 +0900 - -libmm-player (0.2.4-2) unstable; urgency=low - - * Repackaging because of EFL change - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-2 - - -- YoungHwan Ahn Sat, 11 Sep 2010 09:32:26 +0900 - -libmm-player (0.2.4-1) unstable; urgency=low - - * Update code - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-1 - - -- Seungbae Shin Thu, 02 Sep 2010 21:07:40 +0900 - -libmm-player (0.2.4-0) unstable; urgency=low - - * Remove Bluetooth code - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.4-0 - - -- Seungbae Shin Thu, 02 Sep 2010 20:35:12 +0900 - -libmm-player (0.2.3-24) unstable; urgency=low - - * Fix setting bug of audio effect filter - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-24 - - -- YoungHwan Mon, 30 Aug 2010 20:57:57 +0900 - -libmm-player (0.2.3-23) unstable; urgency=low - - * Remove mm_message_private.h - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-23 - - -- Seungbae Shin Mon, 30 Aug 2010 19:16:13 +0900 - -libmm-player (0.2.3-22) unstable; urgency=low - - * Support video capture in pause state and fix build option bug - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-22 - - -- YoungHwan Ahn Wed, 25 Aug 2010 01:03:38 +0900 - -libmm-player (0.2.3-21) unstable; urgency=low - - * Fix to use rtspsrc for rtsp streaming in sdk - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-21 - - -- YoungHwan Ahn Tue, 24 Aug 2010 16:12:14 +0900 - -libmm-player (0.2.3-20) unstable; urgency=low - - * Fix to use souphttpsrc for http streaming in sdk - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-20 - - -- YoungHwan Ahn Mon, 23 Aug 2010 18:57:20 +0900 - - * Fix rotation bug and video capture implementation - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-19 - - -- YoungHwan Ahn Mon, 23 Aug 2010 17:30:03 +0900 - -libmm-player (0.2.3-18) unstable; urgency=low - - * Fix testsuite for EFL change - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-18 - - -- Seungbae Shin Mon, 09 Aug 2010 17:26:40 +0900 - -libmm-player (0.2.3-17) unstable; urgency=low - - * Add testsuite again but don't make main window - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-17 - - -- YoungHwan Ahn Sat, 07 Aug 2010 19:15:10 +0900 - -libmm-player (0.2.3-16) unstable; urgency=low - - * Remove testsuite temporally - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-16 - - -- Seungbae Shin Fri, 06 Aug 2010 11:30:34 +0900 - -libmm-player (0.2.3-15) unstable; urgency=low - - * Fix ini mismatch - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-15 - - -- Seungbae Shin Thu, 05 Aug 2010 16:52:30 +0900 - -libmm-player (0.2.3-14) unstable; urgency=low - - * Rearrange public api - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-14 - - -- YoungHwan Ahn Wed, 04 Aug 2010 20:16:37 +0900 - -libmm-player (0.2.3-13) unstable; urgency=low - - * set audio callback only when non-drm audio is played - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-13 - - -- YoungHwan Ahn Tue, 03 Aug 2010 11:00:36 +0900 - -libmm-player (0.2.3-12) unstable; urgency=low - - * Modify doxygen - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-12 - - -- YoungHwan Ahn Wed, 28 Jul 2010 15:10:22 +0900 - -libmm-player (0.2.3-11) unstable; urgency=low - - * Fix asm return value, remove old style api, add session to testsuite, fix max string in testsute - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-11 - - -- Seungbae Shin Mon, 26 Jul 2010 11:36:27 +0900 - -libmm-player (0.2.3-10) unstable; urgency=low - - * remove MM_PLAYER_POS_FORMAT_FRAME - * Git : 165.213.180.234:/git/slp/pkgs/libmm-player - * Tag : libmm-player_0.2.3-10 - - -- YoungHwan Ahn Thu, 15 Jul 2010 16:49:05 +0900 - -libmm-player (0.2.3-9) unstable; urgency=low - - * apply doxygen policy to generate doc - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-9 - - -- YoungHwan Ahn Mon, 05 Jul 2010 14:31:44 +0900 - -libmm-player (0.2.3-8) unstable; urgency=low - - * reuplaod - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * * Tag : libmm-player_0.2.3-8 - - -- YoungHwan Ahn Fri, 25 Jun 2010 21:24:46 +0900 - -libmm-player (0.2.3-7) unstable; urgency=low - - * remove old dlog dependency - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-7 - - -- YoungHwan Ahn Fri, 25 Jun 2010 19:18:10 +0900 - -libmm-player (0.2.3-6) unstable; urgency=low - - * change asm logic - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-6 - - -- KwangHui Cho Thu, 17 Jun 2010 17:46:00 +0900 - -libmm-player (0.2.3-5) unstable; urgency=low - - * Fix testesuite - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-5 - - -- Seungbae Shin Thu, 17 Jun 2010 13:30:42 +0900 - -libmm-player (0.2.3-4) unstable; urgency=low - - * reupload for mm-log build faliure - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-4 - - -- KwangHui Cho Wed, 16 Jun 2010 10:51:14 +0900 - -libmm-player (0.2.3-3) unstable; urgency=low - - * reupload for mm-common build faliure - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-3 - - -- KwangHui Cho Wed, 16 Jun 2010 10:15:56 +0900 - -libmm-player (0.2.3-2) unstable; urgency=low - - * remove syslog header & function - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-2 - - -- KwangHui Cho Wed, 16 Jun 2010 10:09:54 +0900 - -libmm-player (0.2.3-1) unstable; urgency=low - - * Repackaging to use new dlog - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-1 - - -- Seungbae Shin Wed, 16 Jun 2010 08:46:01 +0900 - -libmm-player (0.2.3-0) unstable; urgency=low - - * Add attribute "sound_spk_out_only" & remove compile warnings & upload for - dlog update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.3-0 - - -- Seungbae Shin Tue, 15 Jun 2010 16:51:39 +0900 - -libmm-player (0.2.2-33) unstable; urgency=low - - * unrealize is possible in some states. - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-33 - - -- YoungHwan Ahn Mon, 14 Jun 2010 19:04:05 +0900 - -libmm-player (0.2.2-32) unstable; urgency=low - - * repackaging - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-32 - - -- YoungHwan Ahn Fri, 11 Jun 2010 12:36:04 +0900 - -libmm-player (0.2.2-31) unstable; urgency=low - - * Fix property setting for the http streaming - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-31 - - -- Cho Ye Jin Thu, 10 Jun 2010 17:28:53 +0900 - -libmm-player (0.2.2-30) unstable; urgency=low - - * update doxygen - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-30 - - -- YoungHwan Ahn Wed, 09 Jun 2010 15:42:20 +0900 - -libmm-player (0.2.2-29) unstable; urgency=low - - * add player types header for inhouse - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-29 - - -- YoungHwan Ahn Tue, 08 Jun 2010 16:26:38 +0900 - -libmm-player (0.2.2-28) unstable; urgency=low - - * remove libslp-appfwk-dev dependency - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-28 - - -- YoungHwan Ahn Sat, 05 Jun 2010 17:26:59 +0900 - -libmm-player (0.2.2-27) unstable; urgency=low - - * fix build error - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-27 - - -- YoungHwan Ahn Sat, 05 Jun 2010 09:23:33 +0900 - -libmm-player (0.2.2-26) unstable; urgency=low - - * Update doxygen - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-26 - - -- YoungHwan Ahn Fri, 04 Jun 2010 21:50:23 +0900 - -libmm-player (0.2.2-25) unstable; urgency=low - - * replace libslp-appfwk-dev as libslp-appfwk-dev and add XB-Public-Package: no to internal-dev - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-25 - - -- YoungHwan Ahn Fri, 04 Jun 2010 19:26:50 +0900 - -libmm-player (0.2.2-24) unstable; urgency=low - - * modify inhouse package as xx-internal-dev - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-24 - - -- YoungHwan Ahn Fri, 04 Jun 2010 13:02:10 +0900 - -libmm-player (0.2.2-23) unstable; urgency=low - - * remove MMSoundSetPathEx2 from mm_player_testsuite - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-23 - - -- YoungHwan Ahn Fri, 04 Jun 2010 01:05:01 +0900 - -libmm-player (0.2.2-22) unstable; urgency=low - - * remove DEPRECATED - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-22 - - -- YoungHwan Ahn Thu, 03 Jun 2010 23:37:51 +0900 - -libmm-player (0.2.2-21) unstable; urgency=low - - * disable fadeup defaultly - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-21 - - -- YoungHwan Ahn Tue, 01 Jun 2010 21:05:13 +0900 - -libmm-player (0.2.2-20) unstable; urgency=low - - * Modify attribute logic for player and add new api to get/set - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-20 - - -- YoungHwan Ahn Sun, 30 May 2010 00:37:48 +0900 - -libmm-player (0.2.2-19) unstable; urgency=low - - * ADD DISPLAY ROI - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-19 - - -- YoungHwan Ahn Wed, 26 May 2010 15:32:52 +0900 - -libmm-player (0.2.2-18) unstable; urgency=low - - * Fix to play mp3 audio through http streaming - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-18 - - -- Cho Ye Jin Wed, 26 May 2010 10:43:27 +0900 - -libmm-player (0.2.2-17) unstable; urgency=low - - * Fix not to play subtitle included in audio/video file source together - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-17 - - -- Cho Ye Jin Tue, 18 May 2010 15:53:53 +0900 - -libmm-player (0.2.2-16) unstable; urgency=low - - * Implement audio stream callback - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-16 - - -- YoungHwan Ahn Mon, 17 May 2010 17:29:40 +0900 - -libmm-player (0.2.2-15) unstable; urgency=low - - * Fix asm callback bug (mmplayer does not paused when second call is comming) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-15 - - -- KwangHui Cho Fri, 14 May 2010 12:53:39 +0900 - -libmm-player (0.2.2-14) unstable; urgency=low - - * Disable vconf setting - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-14 - - -- Seungbae Shin Fri, 14 May 2010 12:29:40 +0900 - -libmm-player (0.2.2-13) unstable; urgency=low - - * Fix bug when linked codec is checked - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-13 - - -- YoungHwan Ahn Thu, 13 May 2010 19:44:28 +0900 - -libmm-player (0.2.2-12) unstable; urgency=low - - * Fix conflict - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-12 - - -- Seungbae Shin Tue, 11 May 2010 15:53:10 +0900 - -libmm-player (0.2.2-11) unstable; urgency=low - - * Add new attribute(stop_when_unplugged) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-11 - - -- YoungHwan Ahn Tue, 11 May 2010 15:10:33 +0900 - -libmm-player (0.2.2-10) unstable; urgency=low - - * Remove postinst & Use libmm-sound-sdk-dev - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-10 - - -- Seungbae Shin Tue, 11 May 2010 13:56:33 +0900 - -libmm-player (0.2.2-9) unstable; urgency=low - - * Update asm_callback - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-9 - - -- KwangHui Cho Tue, 11 May 2010 10:10:11 +0900 - -libmm-player (0.2.2-8) unstable; urgency=low - - * Header Cleanup - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-8 - - -- YoungHwan Ahn Mon, 10 May 2010 15:37:09 +0900 - -libmm-player (0.2.2-7) unstable; urgency=low - - * Use gstreamer SDK package - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-7 - - -- Seungbae Shin Mon, 10 May 2010 15:06:55 +0900 - -libmm-player (0.2.2-6) unstable; urgency=low - - * Modify APIs as POSIX style - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-6 - - -- YoungHwan Ahn Mon, 10 May 2010 15:06:52 +0900 - -libmm-player (0.2.2-5) unstable; urgency=low - - * Move mmta include to internal - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-5 - - -- Seungbae Shin Thu, 06 May 2010 10:31:06 +0900 - -libmm-player (0.2.2-4) unstable; urgency=low - - * change dev package dependency (libmm-ta-sdk-dev => libmm-ta-dev) - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-4 - - -- KwangHui Cho Thu, 06 May 2010 10:03:46 +0900 - -libmm-player (0.2.2-3) unstable; urgency=low - - * Replace mm-session with SDK - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-3 - - -- Seungbae Shin Tue, 04 May 2010 13:33:50 +0900 - -libmm-player (0.2.2-2) unstable; urgency=low - - * Change debian/control - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-2 - - -- Seungbae Shin Mon, 03 May 2010 19:20:44 +0900 - -libmm-player (0.2.2-1) unstable; urgency=low - - * Add Debug package & Fix testsuite - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-1 - - -- Seungbae Shin Mon, 03 May 2010 11:26:40 +0900 - -libmm-player (0.2.2-0) unstable; urgency=low - - * Apply pulsesink to master - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.2-0 - - -- Seungbae Shin Fri, 23 Apr 2010 15:22:14 +0900 - -libmm-player (0.2.1-3) unstable; urgency=low - - * Add postinst - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.1-3 - - -- Seungbae Shin Tue, 20 Apr 2010 22:32:41 +0900 - -libmm-player (0.2.1-2) unstable; urgency=low - - * Rollback MM_MESSAGE_STATE_CHANGED_BY_ASM temporarily - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.1-2 - - -- YoungHwan Ahn Tue, 20 Apr 2010 22:10:53 +0900 - -libmm-player (0.2.1-1) unstable; urgency=low - - * Add ready to resume when call is ended during background music - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.1-1 - - -- YoungHwan Ahn Tue, 20 Apr 2010 17:55:33 +0900 - -libmm-player (0.2.1-0) unstable; urgency=low - - * Change version style - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2.1-0 - - -- KwangHui Cho Mon, 19 Apr 2010 10:48:35 +0900 - -libmm-player (0.2-53) unstable; urgency=low - - * Update ASM code - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2-53 - - -- KwangHui Cho Fri, 16 Apr 2010 19:30:59 +0900 - -libmm-player (0.2-52) unstable; urgency=low - - * Repackage for mm-log update - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2-52 - - -- Seungbae Shin Wed, 14 Apr 2010 23:16:59 +0900 - -libmm-player (0.2-50) unstable; urgency=low - - * Add cookie attribute to support HTML5 http streaming - - -- Cho Ye Jin Tue, 13 Apr 2010 20:51:55 +0900 - -libmm-player (0.2-49) unstable; urgency=low - - * Modify default audio route value - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2-49 - - -- YoungHwan Ahn Wed, 07 Apr 2010 19:37:30 +0900 - -libmm-player (0.2-48) unstable; urgency=low - - * Fix ASM problem when calling - * Git : 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libmm-player-0.1 - * Tag : libmm-player_0.2-48 - - -- Jeon Hee Chul Tue, 06 Apr 2010 09:09:46 +0900 - -libmm-player (0.2-47) unstable; urgency=low - - * Fix not to use the attributes for using dnet api for streaming - - -- Cho Ye Jin Wed, 31 Mar 2010 19:47:18 +0900 - -libmm-player (0.2-46) unstable; urgency=low - - * Change error messsage when invaild stream is founded during playing - - -- YoungHwan Ahn Tue, 30 Mar 2010 17:46:08 +0900 - -libmm-player (0.2-45) unstable; urgency=low - - * Remove DNet dependency in mm_player_testsuite - - -- Cho Ye Jin Tue, 30 Mar 2010 16:32:26 +0900 - -libmm-player (0.2-44) unstable; urgency=low - - * Supress warnings - - -- Cho Ye Jin Tue, 30 Mar 2010 16:25:09 +0900 - -libmm-player (0.2-43) unstable; urgency=low - - * Modify to assign pid to ASM on realize stage. - - -- Jeon Hee Chul Tue, 30 Mar 2010 15:38:51 +0900 - -libmm-player (0.2-42) unstable; urgency=low - - * Add an attribute "application_pid" which will used to give specific pid to ASM. - - -- Jeon Hee Chul Tue, 30 Mar 2010 15:01:09 +0900 - -libmm-player (0.2-41) unstable; urgency=low - - * Remove host attribute - - -- Cho Ye Jin Tue, 30 Mar 2010 14:50:15 +0900 - -libmm-player (0.2-40) unstable; urgency=low - - * Supress warnings. - * Seperate ASM stuffs to another source file "mm_player_asm.h/c" - * Move ASM registration from Create to Realize. And for Destory to Unrealize also. - - -- Jeon Hee Chul Fri, 26 Mar 2010 16:03:55 +0900 - -libmm-player (0.2-39) unstable; urgency=low - - * Reupload - - -- Wonhyung Cho Thu, 25 Mar 2010 14:59:49 +0900 - -libmm-player (0.2-38) unstable; urgency=low - - * Toolchain Upgrade - - -- Wonhyung Cho Thu, 25 Mar 2010 13:44:17 +0900 - -libmm-player (0.2-37) unstable; urgency=low - - * Add evas_object_show() in testsuite - - -- Seungbae Shin Wed, 24 Mar 2010 15:30:46 +0900 - -libmm-player (0.2-36) unstable; urgency=low - - * Remove #if 1 stuffs on preparing of header release. This will not appect - to any modules to be function. - - -- Jeon Hee Chul Thu, 18 Mar 2010 14:01:27 +0900 - -libmm-player (0.2-35) unstable; urgency=low - - * Apply change of audio session manager (to support daemon style MSL) - - -- KwangHui Cho Wed, 17 Mar 2010 12:05:43 +0900 - -libmm-player (0.2-34) unstable; urgency=low - - * Add host attribute for streaming - - -- Cho Ye Jin Mon, 15 Mar 2010 15:58:27 +0900 - -libmm-player (0.2-33) unstable; urgency=low - - * Update asm callback function to return result status - - -- KwangHui Cho Mon, 15 Mar 2010 10:12:41 +0900 - -libmm-player (0.2-32) unstable; urgency=low - - * Fix H0100084346() - - -- YoungHwan Ahn Thu, 11 Mar 2010 16:08:51 +0900 - -libmm-player (0.2-31) unstable; urgency=low - - * Repacking for mm-common update - - -- Seungbae Shin Thu, 11 Mar 2010 11:56:31 +0900 - -libmm-player (0.2-30) unstable; urgency=low - - * Repackaged - - -- YoungHwan Ahn Thu, 11 Mar 2010 11:56:26 +0900 - -libmm-player (0.2-29) unstable; urgency=low - - * Fix bug to seek by percent and remove useless codes - - -- YoungHwan Ahn Wed, 10 Mar 2010 22:58:22 +0900 - -libmm-player (0.2-28) unstable; urgency=low - - * Enable bluetooth on simulator for TC - - -- Seungbae Shin Wed, 10 Mar 2010 20:51:28 +0900 - -libmm-player (0.2-27) unstable; urgency=low - - * Add error handling when caps nego is failed. - - -- YoungHwan Ahn Tue, 09 Mar 2010 21:06:43 +0900 - -libmm-player (0.2-26) unstable; urgency=low - - * Add proxy attributes for http streaming - - -- Cho Ye Jin Tue, 09 Mar 2010 16:48:44 +0900 - -libmm-player (0.2-25) unstable; urgency=low - - * Modify subtitle message stucture - - -- Cho Ye Jin Mon, 08 Mar 2010 15:37:42 +0900 - -libmm-player (0.2-24) unstable; urgency=low - - * Fix side effect when player is resumed by rew - - -- YoungHwan Ahn Fri, 05 Mar 2010 19:33:45 +0900 - -libmm-player (0.2-23) unstable; urgency=low - - * Modify section to main - - -- Seungbae Shin Fri, 05 Mar 2010 16:09:30 +0900 - -libmm-player (0.2-22) unstable; urgency=low - - * Add audio route attribute to set sound path - - -- YoungHwan Ahn Thu, 04 Mar 2010 20:36:04 +0900 - -libmm-player (0.2-21) unstable; urgency=low - - * Update trick play logic to keep playback rate during seeking - - -- YoungHwan Ahn Thu, 04 Mar 2010 19:42:09 +0900 - -libmm-player (0.2-20) unstable; urgency=low - - * modify mmplayer_set_subtitle_silent - - -- Cho Ye Jin Tue, 02 Mar 2010 18:09:07 +0900 - -libmm-player (0.2-19) unstable; urgency=low - - * Support to post MM_MESSAGE_STATE_CHANGED_BY_ASM - - -- YoungHwan Ahn Thu, 25 Feb 2010 21:20:25 +0900 - -libmm-player (0.2-18) unstable; urgency=low - - * Support to post subtitle update messages - - -- Cho Ye Jin Thu, 25 Feb 2010 19:56:24 +0900 - -libmm-player (0.2-17) unstable; urgency=low - - * fix bug of repeat, support MM_MESSAGE_RESUME_BY_REW and java buffering - - -- YoungHwan Ahn Wed, 24 Feb 2010 21:38:46 +0900 - -libmm-player (0.2-16) unstable; urgency=low - - * Change videosink in streaming (ximagesink->xvimagesink) - - -- Seungbae Shin Wed, 24 Feb 2010 17:48:22 +0900 - -libmm-player (0.2-15) unstable; urgency=low - - * Update audio-session-manager related code - * - add ASM_set_sound_state on mm_player_unrealize - * - add mm_player_unrealize when videobin is used - - -- KwangHui Cho Wed, 24 Feb 2010 16:37:49 +0900 - -libmm-player (0.2-14) unstable; urgency=low - - * Expend audio-session-manager event type - - -- KwangHui Cho Tue, 23 Feb 2010 15:12:43 +0900 - -libmm-player (0.2-13) unstable; urgency=low - - * Modify doxygen comment & Remove #if 0 - - -- Seungbae Shin Mon, 22 Feb 2010 21:08:02 +0900 - -libmm-player (0.2-12) unstable; urgency=low - - * Modify window creation logic in testsuite - - -- YoungHwan Ahn Mon, 22 Feb 2010 18:08:25 +0900 - -libmm-player (0.2-11) unstable; urgency=low - - * Bug Fix : unregister audiosessionmanager when player destory - - -- KwangHui Cho Mon, 22 Feb 2010 15:49:54 +0900 - -libmm-player (0.2-10) unstable; urgency=low - - * Set LIMO tag & Modify section to non-free - - -- Seungbae Shin Mon, 22 Feb 2010 13:07:46 +0900 - -libmm-player (0.2-9) unstable; urgency=low - - * Update Audio Session Manager as handle based - - -- KwangHui Cho Mon, 22 Feb 2010 12:16:01 +0900 - -libmm-player (0.2-8) unstable; urgency=low - - * Add draw-borders property for new mechanism of X-server - - -- YoungHwan Ahn Sat, 20 Feb 2010 17:54:43 +0900 - -libmm-player (0.2-7) unstable; urgency=low - - * Apply audio session manager - - -- KwangHui Cho Sat, 20 Feb 2010 06:50:54 +0900 - -libmm-player (0.2-6) unstable; urgency=low - - * Repackaging for mm-common updates (.la) - - -- Seungbae Shin Tue, 16 Feb 2010 20:22:40 +0900 - -libmm-player (0.2-5) unstable; urgency=low - - * Resume when the stream is reached at start position during rewinding fast. - - -- YoungHwan Ahn Thu, 11 Feb 2010 16:27:24 +0900 - -libmm-player (0.2-4) unstable; urgency=low - - * [doxygen] Move MMPlayerUpdateSoundFilter to INTERNAL - - -- Seungbae Shin Wed, 10 Feb 2010 23:58:11 +0900 - -libmm-player (0.2-3) unstable; urgency=low - - * Add WOW HD and Sound Externalization - - -- YoungHwan Ahn Wed, 10 Feb 2010 18:08:37 +0900 - -libmm-player (0.2-2) unstable; urgency=low - - * Rollback mute for trick play - - -- YoungHwan Ahn Wed, 10 Feb 2010 14:37:40 +0900 - -libmm-player (0.2-1) unstable; urgency=low - - * Modify logic for trick play - - -- YoungHwan Ahn Sat, 06 Feb 2010 01:54:37 +0900 - -libmm-player (0.2-0) unstable; urgency=low - - * Modify custom mode of equalizer - - -- YoungHwan Ahn Thu, 04 Feb 2010 22:08:48 +0900 - -libmm-player (0.1-39) unstable; urgency=low - - * Add new feature to support arkamys solution - - -- YoungHwan Ahn Mon, 01 Feb 2010 14:53:02 +0900 - -libmm-player (0.1-38) unstable; urgency=low - - * Fix seg. fault bug to seek - - -- YoungHwan Ahn Sat, 30 Jan 2010 00:25:01 +0900 - -libmm-player (0.1-37) unstable; urgency=low - - * Repacking - - -- Cho Ye Jin Fri, 29 Jan 2010 19:12:20 +0900 - -libmm-player (0.1-36) unstable; urgency=low - - * Repacking - - -- Cho Ye Jin Fri, 29 Jan 2010 17:29:39 +0900 - -libmm-player (0.1-35) unstable; urgency=low - - * Fix to send the event to the textsink for playing subtitle - - -- Cho Ye Jin Fri, 29 Jan 2010 17:19:56 +0900 - -libmm-player (0.1-34) unstable; urgency=low - - * Support HTTP streaming - - -- Seungbae Shin Wed, 27 Jan 2010 15:03:38 +0900 - -libmm-player (0.1-33) unstable; urgency=low - - * Update for changing API/header convention (remove SLP/slp) - - -- Seungbae Shin Wed, 27 Jan 2010 12:15:27 +0900 - -libmm-player (0.1-32) unstable; urgency=low - - * Modify mm_player.h for DOXYGEN - - -- Shin Seung Bae Sat, 23 Jan 2010 17:26:23 +0900 - -libmm-player (0.1-31) unstable; urgency=low - - * Add new attribute for displaying with gemetrical method - - -- Young Hwan Ahn Fri, 22 Jan 2010 19:44:02 +0900 - -libmm-player (0.1-30) unstable; urgency=low - - * Modify sound filter api to support SRS CSHeadPhone - - -- Young Hwan Ahn Fri, 22 Jan 2010 16:16:08 +0900 - -libmm-player (0.1-29) unstable; urgency=low - - * Repackaging for EFL upgrade - - -- Shin Seung Bae Fri, 22 Jan 2010 13:17:24 +0900 - -libmm-player (0.1-28) unstable; urgency=low - - * Remove gst_init from mm_player_testsuite and modify mmts_filelist - - -- Young Hwan Ahn Wed, 20 Jan 2010 19:39:58 +0900 - -libmm-player (0.1-27) unstable; urgency=low - - * Enable GST_EXT_TIME_ANALYSIS - - -- Young Hwan Ahn Mon, 18 Jan 2010 14:17:12 +0900 - -libmm-player (0.1-25) unstable; urgency=low - - * Repackaing - - -- Young Hwan Ahn Wed, 15 Jan 2010 19:20:28 +0900 - -libmm-player (0.1-24) unstable; urgency=low - - * Mute volume when trick play is set as over 2.0 or under 0.0 rate. - - -- Young Hwan Ahn Wed, 15 Jan 2010 19:20:28 +0900 - -libmm-player (0.1-23) unstable; urgency=low - - * Drmfilesrc name is fixed and add some paths to testsuite ini - - -- Young Hwan Ahn Wed, 14 Jan 2010 01:20:28 +0900 - -libmm-player (0.1-22) unstable; urgency=low - - * Drmfilesrc is enabled basically and initialize message structure before - posting - - -- Young Hwan Ahn Wed, 14 Jan 2010 01:20:28 +0900 - -libmm-player (0.1-21) unstable; urgency=low - - * Repackaing - - -- Shin Seung Bae Wed, 13 Jan 2010 01:20:28 +0900 - -libmm-player (0.1-20) unstable; urgency=low - - * Repackaging - - -- Shin Seung Bae Wed, 13 Jan 2010 01:11:43 +0900 - -libmm-player (0.1-19) unstable; urgency=low - - * Enable BT in testsuite - - -- Shin Seung Bae Wed, 13 Jan 2010 00:17:51 +0900 - -libmm-player (0.1-18) unstable; urgency=low - - * Fix bug in tag extraction function (setting string attribute) - - -- Shin Seung Bae Tue, 12 Jan 2010 17:23:12 +0900 - -libmm-player (0.1-17) unstable; urgency=low - - * Repackaging - - -- Shin Seung Bae Fri, 08 Jan 2010 16:17:57 +0900 - -libmm-player (0.1-16) unstable; urgency=low - - * enable dnet connection for streamung in mm_player_testsuite - Fix i386 testsuite build - - -- Shin Seung Bae Fri, 08 Jan 2010 15:55:03 +0900 - -libmm-player (0.1-15) unstable; urgency=low - - * Add mm-ta to mm-player.pc - - -- Shin Seung Bae Wed, 30 Dec 2009 17:25:29 +0900 - -libmm-player (0.1-14) unstable; urgency=low - - * Change window system of mm_player_testsuite from GTK to EFL and add mm-ta - - -- Ahn Young Hwan Tue, 22 Dec 2009 18:50:22 +0900 - -libmm-player (0.1-13) unstable; urgency=low - - * Add libmm-sound-dev dependency - - -- Ahn Young Hwan Tue, 22 Dec 2009 18:50:22 +0900 - -libmm-player (0.1-12) unstable; urgency=low - - * Modify player_internal to support m-theater movie - - -- Ahn Young Hwan Tue, 22 Dec 2009 18:50:22 +0900 - -libmm-player (0.1-11) unstable; urgency=low - - * Change unit of section repeat and set infinity play count internally - - -- Ahn Young Hwan Tue, 22 Dec 2009 18:50:22 +0900 - -libmm-player (0.1-10) unstable; urgency=low - - * Change video decoder property as hw-accel and err-conceal - - -- Ahn Young Hwan Tue, 22 Dec 2009 17:50:22 +0900 - -libmm-player (0.1-9) unstable; urgency=low - - * Add new sound priority attribute for avsysaudiosink - - -- Ahn Young Hwan Tue, 22 Dec 2009 16:50:22 +0900 - -libmm-player (0.1-8) unstable; urgency=low - - * Revert to avsysaudiosink - - -- Shin Seung Bae Tue, 22 Dec 2009 15:50:22 +0900 - -libmm-player (0.1-7) unstable; urgency=low - - * Fix for demo - - -- Shin Seung Bae Tue, 22 Dec 2009 03:51:25 +0900 - -libmm-player (0.1-6) unstable; urgency=low - - * Fix bug in 0.1-5 version - - -- Shin Seung Bae Fri, 18 Dec 2009 19:27:43 +0900 - -libmm-player (0.1-5) unstable; urgency=low - - * Force INI setting for simulator - - -- Shin Seung Bae Fri, 18 Dec 2009 17:45:11 +0900 - -libmm-player (0.1-4) unstable; urgency=low - - * Remove gtk_main() in testsuite to support simulator - - -- Shin Seung Bae Thu, 17 Dec 2009 20:43:48 +0900 - -libmm-player (0.1-3) unstable; urgency=low - - * Remove gst_object_unref audiosink in when destroy pipeline - - -- Shin Seung Bae Thu, 10 Dec 2009 18:11:25 +0900 - -libmm-player (0.1-2) unstable; urgency=low - - * default ini changed. use avsysaudiosink,filesrc, use mp3parse now - - -- Shin Seung Bae Wed, 09 Dec 2009 17:59:11 +0900 - -libmm-player (0.1-1) unstable; urgency=low - - * Initial Release. - - -- Shin Seung Bae Wed, 02 Dec 2009 16:47:53 +0900 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100755 index c04149f..0000000 --- a/debian/control +++ /dev/null @@ -1,34 +0,0 @@ -Source: libmm-player -Section: libs -Priority: extra -Maintainer: Shin Seung Bae , JongHyuk Choi -Uploaders: Young Hwan Ahn - Cho Ye Jin , KwangHui Cho , Jeon Hee Chul , Wonhyung Cho , Sangchul Lee -Build-Depends: debhelper (>= 5), autotools-dev, libmm-log-dev, libmm-common-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, iniparser-dev, libmm-sound-dev, libmm-ta-dev, libappcore-efl-dev, libefreet-dev, libmm-session-dev, libaudiosessionmgr-dev (>=0.1.1), libmm-utility-dev, libmm-common-internal-dev, libvconf-dev -Standards-Version: 3.7.2 - -Package: libmm-player -Section: libs -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libmm-log, libmm-common, libgstreamer0.10-0, libgstreamer-plugins-base0.10-0, libmm-ta, libmm-session-0, libaudiosessionmgr-0 (>=0.1.1), pulseaudio, pulseaudio-module-bluetooth[armel], libmm-utility, libvconf-0 -Description: Multimedia Framework Player Library - -Package: libmm-player-dev -XB-Generate-Docs: yes -Section: libdevel -Architecture: any -Depends: libmm-player (= ${Source-Version}), libmm-log-sdk-dev, libmm-common-dev, libgstreamer0.10-sdk-dev, libgstreamer-plugins-base0.10-sdk-dev, libmm-sound-sdk-dev, libmm-ta-sdk-dev, libmm-session-sdk-dev, libaudiosessionmgr-sdk-dev (>=0.1.1), libmm-utility-dev, libvconf-dev -Description: Multimedia Framework Player Library (DEV) - -Package: libmm-player-internal-dev -XB-Public-Package: no -Section: libdevel -Architecture: any -Depends: libmm-player-dev -Description: Multimedia Framework Player Library (inhouse) - -Package: libmm-player-dbg -Section: debug -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libmm-player (= ${Source-Version}) -Description: Multimedia Framework Player Library (unstripped) diff --git a/debian/copyright b/debian/copyright deleted file mode 100755 index 0842a72..0000000 --- a/debian/copyright +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index ca882bb..0000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/sbin diff --git a/debian/docs b/debian/docs deleted file mode 100644 index e69de29..0000000 diff --git a/debian/libmm-player-dev.install.in b/debian/libmm-player-dev.install.in deleted file mode 100755 index c8b8d72..0000000 --- a/debian/libmm-player-dev.install.in +++ /dev/null @@ -1,4 +0,0 @@ -@PREFIX@/include/mmf/mm_player.h -@PREFIX@/lib/*.a -@PREFIX@/lib/*.la -@PREFIX@/lib/pkgconfig/* diff --git a/debian/libmm-player-internal-dev.install.in b/debian/libmm-player-internal-dev.install.in deleted file mode 100755 index 48ce2dd..0000000 --- a/debian/libmm-player-internal-dev.install.in +++ /dev/null @@ -1,2 +0,0 @@ -@PREFIX@/include/mmf/mm_player_sndeffect.h -@PREFIX@/include/mmf/mm_player_internal.h diff --git a/debian/libmm-player.install.in b/debian/libmm-player.install.in deleted file mode 100755 index e7092c3..0000000 --- a/debian/libmm-player.install.in +++ /dev/null @@ -1,3 +0,0 @@ -@PREFIX@/lib/*.so* -@PREFIX@/bin/* - diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 097eedc..0000000 --- a/debian/rules +++ /dev/null @@ -1,134 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) - - -CFLAGS += -Wall -g -fPIC -LDFLAGS ?= -PREFIX ?= /usr -DATADIR ?= /opt - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - - -# architecture is not arm -ifneq (, $(findstring arm, $(DEB_HOST_ARCH))) - # do something here - OPTION = --disable-sdk -else - # do something here for arm architecture - OPTION = --enable-sdk -endif - - -LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed - - -config.status: configure - dh_testdir - ./autogen.sh - # Add here commands to configure the package. - CFLAGS="$(CFLAGS) -DMMFW_DEBUG_MODE -DGST_EXT_TIME_ANALYSIS -DAUDIO_FILTER_EFFECT -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="$(LDFLAGS)" ./configure $(OPTION) --prefix=$(PREFIX) - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/mm-player.sgml > mm-player.1 - - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - cat $$f > $${f%.in}; \ - sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \ - sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \ - done - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - rm -f $${f%.in}; \ - done - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/mm-player. - $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install --sourcedir=debian/tmp -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip --dbg-package=libmm-player-dbg - dh_compress - dh_fixperms -# dh_perl - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 97a0cf4..86b45e7 100644 --- a/packaging/libmm-player.spec +++ b/packaging/libmm-player.spec @@ -1,9 +1,8 @@ -#sbs-git:slp/pkgs/l/libmm-player libmm-player 0.2.17 f4968cadcd17a393d529a446e91d8f34904097ac Name: libmm-player Summary: Multimedia Framework Player Library -Version: 0.2.63 -Release: 3 +Version: 0.2.0 +Release: 1 Group: System/Libraries License: TBD Source0: %{name}-%{version}.tar.gz @@ -16,13 +15,9 @@ BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) BuildRequires: pkgconfig(gstreamer-interfaces-0.10) BuildRequires: pkgconfig(gstreamer-app-0.10) -BuildRequires: pkgconfig(appcore-efl) -BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(mm-session) BuildRequires: pkgconfig(mmutil-imgp) BuildRequires: pkgconfig(audio-session-mgr) -BuildRequires: pkgconfig(ecore-x) -BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(iniparser) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(vconf) @@ -46,11 +41,10 @@ Requires: %{name} = %{version}-%{release} ./autogen.sh -CFLAGS+=" -DMMFW_DEBUG_MODE -DGST_EXT_TIME_ANALYSIS -DAUDIO_FILTER_EFFECT -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS +CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS -# always enable sdk build. This option should go away -CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --enable-sdk --prefix=%{_prefix} --disable-static +CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --prefix=%{_prefix} --disable-static # Call make instruction with smp support make -j1 @@ -59,8 +53,6 @@ make -j1 rm -rf %{buildroot} %make_install -rm -f %{buildroot}/usr/bin/test_alarmdb - %clean rm -rf %{buildroot} @@ -74,7 +66,6 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/*.so.* -%{_bindir}/* %files devel diff --git a/test/Makefile.am b/test/Makefile.am deleted file mode 100755 index 4594b3b..0000000 --- a/test/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -bin_PROGRAMS = mm_player_testsuite - -mm_player_testsuite_SOURCES = mm_player_testsuite.c - -mm_player_testsuite_CFLAGS = -I$(srcdir)/../src/include \ - $(GLIB_CFLAGS)\ - $(INIPARSER_CFLAGS) \ - $(MMCOMMON_CFLAGS) \ - $(MMSOUND_CFLAGS) \ - $(MMSESSION_CFLAGS) \ - $(ELEMENTARY_CFLAGS) \ - $(APPFWK_CFLAGS) \ - $(GTK_CFLAGS) \ - $(MMTA_CFLAGS) \ - $(MMUTIL_CFLAGS) - -############################################ -#mm_player_testsuite_CFLAGS += -DAPPSRC_TEST -mm_player_testsuite_CFLAGS += -D_USE_EFL -#mm_player_testsuite_CFLAGS += -D_USE_GTK -D_USE_XVIMAGESINK -#mm_player_testsuite_CFLAGS += $(GTK_CFLAGS) -mm_player_testsuite_CFLAGS += -DAUDIO_FILTER_EFFECT - -############################################ - -mm_player_testsuite_DEPENDENCIES = $(top_builddir)/src/libmmfplayer.la \ - $(top_builddir)/src/libmmfplayer_m3u8.la - -mm_player_testsuite_LDADD = $(top_builddir)/src/libmmfplayer.la \ - $(top_builddir)/src/libmmfplayer_m3u8.la \ - $(GLIB_LIBS)\ - $(INIPARSER_LIBS)\ - $(MMCOMMON_LIBS) \ - $(MMSOUND_LIBS) \ - $(MMSESSION_LIBS) \ - $(ELEMENTARY_LIBS) \ - $(APPFWK_LIBS) \ - $(GTK_LIBS) \ - $(MMTA_LIBS) \ - $(MMUTIL_LIBS) \ - $(ECORE_X_LIBS) \ - $(EVAS_LIBS) \ - $(ECORE_LIBS) \ - $(INIPARSER_LIBS) - - -#mm_player_testsuite_LDADD += $(GTK_LIBS) - diff --git a/test/mm_player_testsuite.c b/test/mm_player_testsuite.c deleted file mode 100755 index 9cf4b55..0000000 --- a/test/mm_player_testsuite.c +++ /dev/null @@ -1,2361 +0,0 @@ -/* - * libmm-player - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: JongHyuk Choi , YeJin Cho , - * Seungbae Shin , YoungHwan An - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -/*=========================================================================================== -| | -| INCLUDE FILES | -| | -========================================================================================== */ -//#define MTRACE; -#include -#include -#include -#include -#include -#include // set earphone sound path for dnse -#include -#include -#include -#include -#include -#include // video capture - -#ifdef MTRACE -#include //mtrace -#include //mtrace -#endif - -#include - -#if defined(_USE_EFL) -#include -//#include -#include - -#elif defined(_USE_GTK) -#include -#endif - -#include - -gboolean quit_pushing; - -#define PACKAGE "mm_player_testsuite" - -/*=========================================================================================== -| | -| LOCAL DEFINITIONS AND DECLARATIONS FOR MODULE | -| | -========================================================================================== */ -/*--------------------------------------------------------------------------- -| GLOBAL VARIABLE DEFINITIONS: | ----------------------------------------------------------------------------*/ -#if defined(_USE_GTK_TEMP) -GMainLoop *g_loop; -#endif - -char g_file_list[9][256]; - -#define PCM_DUMP - -#ifdef PCM_DUMP -FILE* g_pcm_dump_fp; -#endif -/*--------------------------------------------------------------------------- -| GLOBAL CONSTANT DEFINITIONS: | ----------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------------------- -| IMPORTED VARIABLE DECLARATIONS: | ----------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------------------- -| IMPORTED FUNCTION DECLARATIONS: | ----------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------------------- -| LOCAL #defines: | ----------------------------------------------------------------------------*/ -#define MAX_STRING_LEN 2048 - -#ifdef GST_EXT_OVERLAYSINK_WQVGA // sbs:+:081203 -#define FULL_WIDTH 240 -#define FULL_HEIGHT 180 -#define FULL_LCD_WIDTH 240 -#define FULL_LCD_HEIGHT 400 -#else -#define FULL_WIDTH 320 -#define FULL_HEIGHT 240 -#define FULL_LCD_WIDTH 320 -#define FULL_LCD_HEIGHT 320 -#endif - -#ifdef _USE_V4L2SINK -#ifndef _MM_PROJECT_VOLANS -#define TES_WIDTH 800 -#define TES_HEIGHT 400 -#define TES_X 0 -#define TES_Y 0 -#define TES_VISIBLE TRUE -#else // for Volans test -#define TES_WIDTH 400 -#define TES_HEIGHT 240 -#define TES_X 0 -#define TES_Y 0 -#define TES_VISIBLE TRUE -#endif -#endif - -#define MM_PLAYER_TS_PD_PATH "/mnt/ums/pd_test.mp4" - -#ifdef PCM_DUMP -#define DUMP_PCM_NAME "/opt/test.pcm" -#endif - -#define TS_ROTATE_DEGREE MM_DISPLAY_ROTATION_270 - -/* macro */ -#define MMTESTSUITE_INI_GET_STRING( x_item, x_ini, x_default ) \ -do \ -{ \ - gchar* str = iniparser_getstring(dict, x_ini, x_default); \ - \ - if ( str && \ - ( strlen( str ) > 1 ) && \ - ( strlen( str ) < 80 ) ) \ - { \ - strcpy ( x_item, str ); \ - } \ - else \ - { \ - strcpy ( x_item, x_default ); \ - } \ -}while(0) - -#define SET_TOGGLE( flag ) flag = ( flag ) ? FALSE : TRUE; - -#define CHECK_RET_SET_ATTRS(x_err_attrs_name) \ - if ( x_err_attrs_name ) \ - g_print("failed to set %s", (*x_err_attrs_name)); \ - free(x_err_attrs_name); - - -#define MMTS_SAMPLELIST_INI_DEFAULT_PATH "/opt/etc/mmts_filelist.ini" -#define MMTS_DEFAULT_INI \ -"\ -[list] \n\ -\n\ -sample1 = /opt/media/Sounds and Music/Music/Over the horizon.mp3\n\ -\n\ -sample2 = /opt/media/Images and videos/My video clips/Helicopter.mp4\n\ -\n\ -sample3 = \n\ -\n\ -sample4 = \n\ -\n\ -sample5 = \n\ -\n\ -sample6 = \n\ -\n\ -sample7 = \n\ -\n\ -sample8 = \n\ -\n\ -sample9 = \n\ -\n\ -" -#define DEFAULT_SAMPLE_PATH "" -#define INI_SAMPLE_LIST_MAX 9 - -/*--------------------------------------------------------------------------- -| LOCAL CONSTANT DEFINITIONS: | ----------------------------------------------------------------------------*/ -enum -{ - CURRENT_STATUS_MAINMENU, - CURRENT_STATUS_FILENAME, - CURRENT_STATUS_VOLUME, - CURRENT_STATUS_POSITION_TIME, - CURRENT_STATUS_POSITION_PERCENT, - CURRENT_STATUS_DISPLAYMETHOD, - CURRENT_STATUS_DISPLAY_VISIBLE, - CURRENT_STATUS_PLAYCOUNT, - CURRENT_STATUS_SPEED_PLAYBACK, - CURRENT_STATUS_SECTION_REPEAT, -#ifdef AUDIO_FILTER_EFFECT - CURRENT_STATUS_SOUND_EFFECT, - CURRENT_STATUS_SOUND_EFFECT_EQ, - CURRENT_STATUS_SOUND_EFFECT_EXT, -#endif - CURRENT_STATUS_ADJUST_SUBTITLE_POSITION, - CURRENT_STATUS_SUBTITLE_FILENAME, - CURRENT_STATUS_RESIZE_VIDEO, -}; -/*--------------------------------------------------------------------------- -| LOCAL DATA TYPE DEFINITIONS: | ----------------------------------------------------------------------------*/ - -#ifdef _USE_EFL -struct appdata -{ - Evas *evas; - Ecore_Evas *ee; - Evas_Object *win; - - Evas_Object *layout_main; /* layout widget based on EDJ */ - Ecore_X_Window xid; - - /* add more variables here */ -}; - -static void win_del(void *data, Evas_Object *obj, void *event) -{ - elm_exit(); -} - -static Evas_Object* create_win(const char *name) -{ - Evas_Object *eo; - int w, h; - - printf ("[%s][%d] name=%s\n", __func__, __LINE__, name); - - eo = elm_win_add(NULL, name, ELM_WIN_BASIC); - if (eo) { - elm_win_title_set(eo, name); - elm_win_borderless_set(eo, EINA_TRUE); - evas_object_smart_callback_add(eo, "delete,request",win_del, NULL); - ecore_x_window_size_get(ecore_x_window_root_first_get(),&w, &h); - evas_object_resize(eo, w, h); - } - - return eo; -} - -static int app_create(void *data) -{ - struct appdata *ad = data; - Evas_Object *win; - //Evas_Object *ly; - //int r; - - /* create window */ - win = create_win(PACKAGE); - if (win == NULL) - return -1; - ad->win = win; - -#if 0 - /* load edje */ - ly = load_edj(win, EDJ_FILE, GRP_MAIN); - if (ly == NULL) - return -1; - elm_win_resize_object_add(win, ly); - edje_object_signal_callback_add(elm_layout_edje_get(ly), - "EXIT", "*", main_quit_cb, NULL); - ad->ly_main = ly; - evas_object_show(ly); - - /* init internationalization */ - r = appcore_set_i18n(PACKAGE, LOCALEDIR); - if (r) - return -1; - lang_changed(ad); -#endif - evas_object_show(win); - -#if 0 - /* add system event callback */ - appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, lang_changed, ad); -#endif - return 0; -} - -static int app_terminate(void *data) -{ - struct appdata *ad = data; - - if (ad->win) - evas_object_del(ad->win); - - return 0; -} - - - -struct appcore_ops ops = { - .create = app_create, - .terminate = app_terminate, -}; - -//int r; -struct appdata ad; -#endif - - -/*--------------------------------------------------------------------------- -| LOCAL VARIABLE DEFINITIONS: | ----------------------------------------------------------------------------*/ - -#ifdef _USE_XVIMAGESINK -static xid = 0; -#endif - -void * overlay = NULL; - -int g_current_state; -int g_menu_state = CURRENT_STATUS_MAINMENU; -bool g_bArgPlay = FALSE; -static MMHandleType g_player = 0; -unsigned int g_video_xid = 0; - -/* for sound effect */ -int g_custom_filter_type = 0; -int g_eq_band_num = 0; -int g_eq_index = 0; - -int g_audio_dsp = FALSE; -int g_video_dsp = FALSE; - -char g_subtitle_uri[MAX_STRING_LEN]; -int g_subtitle_width = 800; -int g_subtitle_height = 480; -bool g_subtitle_silent = FALSE; -unsigned int g_subtitle_xid = 0; -char *g_err_name = NULL; - -/*--------------------------------------------------------------------------- -| LOCAL FUNCTION PROTOTYPES: | ----------------------------------------------------------------------------*/ -static void player_play(); -gboolean timeout_quit_program(void* data); - -void init_file_path(void); -gboolean ts_generate_default_ini(void); -void toggle_audiosink_fadeup(); - -#ifndef PROTECTOR_VODA_3RD -void TestFileInfo (char* filename); -#endif - -bool testsuite_sample_cb(void *stream, int stream_size, void *user_param); - -/*=========================================================================================== -| | -| FUNCTION DEFINITIONS | -| | -========================================================================================== */ -#ifdef _USE_XVIMAGESINK -void change_fullscreen(GtkWidget* widget); -gboolean softkey_cb_select_and_back(GtkWidget *widget, SoftkeyPosition position, gpointer data); -#endif - - -/*--------------------------------------------------------------------------- - | LOCAL FUNCTION DEFINITIONS: | - ---------------------------------------------------------------------------*/ - gboolean -ts_generate_default_ini(void) -{ - FILE* fp = NULL; - gchar* default_ini = MMTS_DEFAULT_INI; - - /* create new file */ - fp = fopen(MMTS_SAMPLELIST_INI_DEFAULT_PATH, "wt"); - - if ( !fp ) - { - return FALSE; - } - - /* writing default ini file */ - if ( strlen(default_ini) != fwrite(default_ini, 1, strlen(default_ini), fp) ) - { - fclose(fp); - return FALSE; - } - - fclose(fp); - return TRUE; - -} - -void -init_file_path(void) -{ - dictionary * dict = NULL; - - dict = iniparser_load(MMTS_SAMPLELIST_INI_DEFAULT_PATH); - - if ( !dict ) - { - printf("No inifile found. player testsuite will create default inifile.\n"); - if ( FALSE == ts_generate_default_ini() ) - { - printf("Creating default inifile failed. Player testsuite will use default values.\n"); - } - else - { - /* load default ini */ - dict = iniparser_load(MMTS_SAMPLELIST_INI_DEFAULT_PATH); - } - } - - if ( dict ) - { - int idx; - - for ( idx = 1 ; idx <= INI_SAMPLE_LIST_MAX ; idx++ ) - { - char buf[12]; - - sprintf(buf, "list:sample%d", idx); - - MMTESTSUITE_INI_GET_STRING( g_file_list[idx-1], buf, DEFAULT_SAMPLE_PATH ); - } - } -} - - -//#define CAPTUERD_IMAGE_SAVE_PATH "./capture_image" -int _save(unsigned char * src, int length) -{ - //unlink(CAPTUERD_IMAGE_SAVE_PATH); - FILE* fp; - char filename[256] = {0,}; - static int WRITE_COUNT = 0; - - //gchar *filename = CAPTUERD_IMAGE_SAVE_PATH; - - sprintf (filename, "VIDEO_CAPTURE_IMAGE_%d.rgb", WRITE_COUNT); - WRITE_COUNT++; - - fp=fopen(filename, "w+"); - - if(fp==NULL) - { - printf("file open error!!\n"); - return; - } - else - { - printf("open success\n"); - - if(fwrite(src, length, 1, fp )!=1) - { - printf("file write error!!\n"); - fclose(fp); - return; - } - printf("write success(%s)\n", filename); - fclose(fp); - } - - return TRUE; -} - - -static bool msg_callback(int message, MMMessageParamType *param, void *user_param) -{ - switch (message) { - case MM_MESSAGE_PD_DOWNLOADER_START: - g_print(" ==> [MMPlayerTestsuite] PD downloader START\n"); - break; - case MM_MESSAGE_PD_DOWNLOADER_END: - g_print(" ==> [MMPlayerTestsuite] PD downloader END\n"); - break; - case MM_MESSAGE_ERROR: - quit_pushing = TRUE; - g_print("error : code = %x\n", param->code); - if (param->code == MM_ERROR_PLAYER_CODEC_NOT_FOUND) - g_print("## error string = %s\n", param->data); - break; - - case MM_MESSAGE_WARNING: - // g_print("warning : code = %d\n", param->code); - break; - - case MM_MESSAGE_END_OF_STREAM: - g_print("end of stream\n"); - - if (g_bArgPlay == TRUE ) { - - g_timeout_add(100, timeout_quit_program, 0); - } - break; - - case MM_MESSAGE_STATE_CHANGED: - g_current_state = param->state.current; - - switch(g_current_state) - { - case MM_PLAYER_STATE_NONE: - g_print(" ==> [MMPlayerTestsuite] Player is [NULL]\n"); - break; - case MM_PLAYER_STATE_READY: - g_print(" ==> [MMPlayerTestsuite] Player is [READY]\n"); - break; - case MM_PLAYER_STATE_PLAYING: - g_print(" ==> [MMPlayerTestsuite] Player is [PLAYING]\n"); - break; - case MM_PLAYER_STATE_PAUSED: - g_print(" ==> [MMPlayerTestsuite] Player is [PAUSED]\n"); - break; - } - break; - case MM_MESSAGE_BEGIN_OF_STREAM: - { - g_print(" ==> [MMPlayerTestsuite] BOS\n"); - } - break; - - case MM_MESSAGE_RESUMED_BY_REW: - g_print("resumed by fast rewind duing trick play\n"); - break; - - case MM_MESSAGE_VIDEO_CAPTURED: - { - /* NOTE : video capture sample - * 1. get original video frame as rgb888 in the case of C110 HW Codec - * Othrewise, format is I420. - * 2. resize it as half size - * 3. save resized image - * - * CAUTION : Application should free received buffer from framework. - */ - unsigned char *dst = NULL; - int src_w; - int src_h; - int dst_width; - int dst_height; - int dst_size; - mm_util_img_format img_fmt; - - MMPlayerVideoCapture* capture = (MMPlayerVideoCapture *)param->data; - - mm_player_get_attribute(g_player, - &g_err_name, - "content_video_width", &src_w, - "content_video_height", &src_h, - NULL); - - dst_width = src_w/2; - dst_height = src_h/2; - - g_print("video capture src w=%d, h=%d\n", src_w, src_h); - g_print("video capture dst w=%d, h=%d\n", dst_width, dst_height); - - if (capture->fmt == MM_PLAYER_COLORSPACE_RGB888) //due to ST12 - { - img_fmt = MM_UTIL_IMG_FMT_RGB888; - - mm_util_get_image_size(img_fmt, dst_width, dst_height, &dst_size); - - dst = (unsigned char *)g_malloc(dst_size); - - mm_util_resize_image (capture->data, src_w, src_h, img_fmt, dst, &dst_width, &dst_height); - - _save(dst, dst_size); - } - else - { - _save(capture->data, capture->size); - } - - if (capture->data) - { - g_free(capture->data); - capture->data = NULL; - } - - if (dst) - { - g_free(dst); - dst = NULL; - } - } - break; - - case MM_MESSAGE_SEEK_COMPLETED: - g_print(" ==> [mm_player_testsuite] SEEK_COMPLETED\n"); - break; - - case MM_MESSAGE_UPDATE_SUBTITLE: - break; - - case MM_MESSAGE_DRM_NOT_AUTHORIZED: - g_print("Got MM_MESSAGE_DRM_NOT_AUTHORIZED\n"); - quit_program (); - break; - - default: - return FALSE; - } - - return TRUE; -} - -bool -testsuite_audio_cb(void *stream, int stream_size, void *user_param) -{ - #ifdef PCM_DUMP - if(fwrite((char *)stream, stream_size, 1, g_pcm_dump_fp )!=1) - { - printf("file write error!!\n"); - fclose(g_pcm_dump_fp); - return FALSE; - } - printf("write success\n"); - return TRUE; - #endif -} - -bool -testsuite_video_cb(void *stream, int stream_size, void *user_param, int width, int height) -{ - static int count = 0; - static int org_stream_size; - int org_w, org_h; - - if (!count) - { - org_stream_size = stream_size; - mm_player_get_attribute(g_player, &g_err_name, - "content_video_width", &org_w, - "content_video_height", &org_h, - NULL); - - g_print("stream_size = %d[w:%d, h:%d]\n", stream_size, width, height); - g_print("content width = %d, height = %d\n", org_w, org_h); - count++; - } - - if (org_stream_size != stream_size) - { - mm_player_get_attribute(g_player, &g_err_name, - "content_video_width", &org_w, - "content_video_height", &org_h, - NULL); - - g_print("stream_size = %d[w:%d, h:%d]\n", stream_size, width, height); - g_print("content width = %d, height = %d\n", org_w, org_h); - } - - return TRUE; -} - -static void input_filename(char *filename) -{ - int len = strlen(filename); - int err; - int ret = MM_ERROR_NONE; - MMPlayerAttrsInfo one; - - MMHandleType prop; - MMHandleType audio_prop, video_prop; - MMHandleType prof_prop; - MMHandleType content_prop = 0; - MMHandleType subtitle_prop = 0; - -#ifdef _USE_XVIMAGESINK - int *val; -#endif - - if ( len < 0 || len > MAX_STRING_LEN ) - return; - - mm_player_unrealize(g_player); - mm_player_destroy(g_player); - g_player = 0; - - if ( mm_player_create(&g_player) != MM_ERROR_NONE ) - { - g_print("player create is failed\n"); - } - - mm_player_set_attribute(g_player, - &g_err_name, - "subtitle_uri", g_subtitle_uri, strlen(g_subtitle_uri), - "subtitle_silent", g_subtitle_silent, - NULL - ); - strcpy(g_subtitle_uri,""); - -#if defined(APPSRC_TEST) - gchar uri[100]; - gchar *ext; - gsize file_size; - GMappedFile *file; - GError *error = NULL; - guint8* g_media_mem = NULL; - - ext = filename; - - file = g_mapped_file_new (ext, FALSE, &error); - file_size = g_mapped_file_get_length (file); - g_media_mem = (guint8 *) g_mapped_file_get_contents (file); - - g_sprintf(uri, "mem://ext=%s,size=%d", ext ? ext : "", file_size); - g_print("[uri] = %s\n", uri); - - mm_player_set_attribute(g_player, - &g_err_name, - "profile_uri", uri, strlen(uri), - "profile_user_param", g_media_mem, file_size - NULL); -#else - mm_player_set_attribute(g_player, - &g_err_name, - "profile_uri", filename, strlen(filename), - NULL); -#endif /* APPSRC_TEST */ - -#if defined(_USE_XVIMAGESINK) - mm_player_set_attribute(g_player, - &g_err_name, - "display_overlay", &xid, sizeof(xid), - NULL); -#elif defined(_USE_V4L2SINK) - mm_player_set_attribute(g_player, - &g_err_name, - "display_width", TES_WIDTH, - "display_height", TES_HEIGHT, - "display_x", TES_X, - "display_y", TES_Y, - "display_rotation", TS_ROTATE_DEGREE, - "display_visible", TES_VISIBLE, - NULL); -#elif defined(_USE_EFL) - mm_player_set_attribute(g_player, - &g_err_name, - "display_overlay", (void*)&ad.xid, sizeof(ad.xid), - "display_rotation", TS_ROTATE_DEGREE, - NULL); -#endif /* _USE_XVIMAGESINK */ - - mm_player_set_message_callback(g_player, msg_callback, (void*)g_player); -} - -static void input_subtitle_filename(char *subtitle_filename) -{ - int len = strlen(subtitle_filename); - - if ( len < 1 || len > MAX_STRING_LEN ) - return; - - strcpy (g_subtitle_uri, subtitle_filename); - - g_print("subtitle uri is set to %s\n", g_subtitle_uri); -} - -static void toggle_subtitle_silent(bool silent) -{ - if ( mm_player_set_subtitle_silent(g_player, silent) != MM_ERROR_NONE ) - { - g_print("failed to set subtitle silent\n"); - } -} - -static void adjust_subtitle_position(int position) -{ - if ( mm_player_adjust_subtitle_position(g_player, MM_PLAYER_POS_FORMAT_TIME, position) != MM_ERROR_NONE ) - { - g_print("failed to adjust subtitle position\n"); - } -} - - -static void set_volume(MMPlayerVolumeType *pvolume) -{ - if ( mm_player_set_volume(g_player, pvolume) != MM_ERROR_NONE ) - { - g_print("failed to set volume\n"); - } -} - - -static void get_volume(MMPlayerVolumeType* pvolume) -{ - int i; - - mm_player_get_volume(g_player, pvolume); - - for (i = 0; i < MM_VOLUME_CHANNEL_NUM; i++) - { - g_print(" ==> [MediaPlayerApp] channel [%d] = %f\n", i, pvolume->level[i]); - } -} - -#ifdef MTRACE -static gboolean -progress_timer_cb(gpointer u_data) // @ -{ - int format = MM_PLAYER_POS_FORMAT_TIME; - int position = 0; - int duration = 0; - MMHandleType content_prop = 0; - - mm_player_get_position(g_player, format, &position); - - if (position >= 10000) - { - char str[50]; - pid_t pid = getpid(); - sprintf(str, "memps -t %d", pid); - g_print ("hyunil pos = [%d], pid = [%d], str=[%s] \n", position, pid,str); - system (str); - muntrace(); - - - return FALSE; - } - - return TRUE; -} -#endif - -static void player_play() -{ - int bRet = FALSE; - - if ( mm_player_realize(g_player) != MM_ERROR_NONE ) - { - g_print("realize is failed\n"); - return; - } - - bRet = mm_player_start(g_player); -#ifdef MTRACE - g_timeout_add( 500, progress_timer_cb, g_player ); -#endif -} - -static void player_capture() -{ - if(mm_player_do_video_capture(g_player) != MM_ERROR_NONE) - { - printf("failed to capture\n"); - } -} - -static void player_stop() -{ - int bRet = FALSE; - - bRet = mm_player_stop(g_player); -} - -static void player_resume() -{ - int bRet = FALSE; - - bRet = mm_player_resume(g_player); -} - -static void player_pause() -{ - int bRet = FALSE; - - bRet = mm_player_pause(g_player); -} - - -static void player_rotate() -{ - static int degree = 0; - degree++; - - if (degree == 4) degree = 0; - - mm_player_set_attribute(g_player, &g_err_name, "display_rotation", degree, NULL); -} - - -#ifdef MTRACE -// usleep (1000000); -// g_print ("aaaaa\n"); -// g_timeout_add( 500, progress_timer_cb, g_player ); -#endif - -static void get_position() -{ - int format = MM_PLAYER_POS_FORMAT_TIME; - int position = 0; - int duration = 0; - MMHandleType content_prop = 0; - - mm_player_get_position(g_player, format, &position); - - mm_player_get_attribute(g_player, &g_err_name, "content_duration", &duration, NULL); - - g_print(" ==> [MediaPlayerApp] Pos: [%d / %d] msec\n", position, duration); -} - -static void set_position(int position, int format) -{ - if ( mm_player_set_position(g_player, format, position) != MM_ERROR_NONE ) - { - g_print("failed to set position\n"); - } -} - -static void set_display_method(int option) -{ - mm_player_set_attribute(g_player, &g_err_name, "display_method", option, NULL); -} - -static void set_display_visible(int option) -{ - mm_player_set_attribute(g_player, &g_err_name, "display_visible", option, NULL); -} - -static void resize_video(int option) -{ - int dst_width; - int dst_height; - - switch (option) - { - case 1: //qcif - dst_width = 176; - dst_height = 144; - break; - - case 2: //qvga - dst_width = 320; - dst_height = 240; - break; - - default: - break; - } - mm_player_set_attribute(g_player, &g_err_name, "display_width", dst_width, "display_height", dst_height, NULL); -} - -void set_audio_callback() -{ - int start_pos = 0; - int end_pos = 0; - int samplerate = 0; // Hz - - g_print("start pos?\n"); - scanf("%d", &start_pos); - - g_print("end pos?\n"); - scanf("%d", &end_pos); - - g_print("samplerate?\n"); - scanf("%d", &samplerate); - - mm_player_set_attribute(g_player, - &g_err_name, - "pcm_extraction", TRUE, - "pcm_extraction_start_msec", start_pos, - "pcm_extraction_end_msec", end_pos, - "pcm_extraction_samplerate", samplerate, - NULL); - - mm_player_set_audio_stream_callback(g_player, testsuite_audio_cb, NULL); -} - -void set_video_callback() -{ - mm_player_set_video_stream_callback(g_player, testsuite_video_cb, NULL); -} -#ifdef AUDIO_FILTER_EFFECT -static int set_sound_effect(char* char_mode) -{ - int filter_type = MM_AUDIO_FILTER_TYPE_NONE; - int type = 0; - - if(strncmp(char_mode, "01", 2 ) == 0) - { - mm_player_sound_filter_custom_clear_eq_all(g_player); - mm_player_sound_filter_custom_apply(g_player); - return 0; - } - else if(strncmp(char_mode, "02", 2 ) == 0) - { - mm_player_sound_filter_custom_clear_ext_all(g_player); - mm_player_sound_filter_custom_apply(g_player); - return 0; - } - else if(strncmp(char_mode, "0", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_NONE; - } -/* Preset */ - else if(strncmp(char_mode, "a", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_AUTO; - } - else if(strncmp(char_mode, "b", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_NORMAL; - } - else if(strncmp(char_mode, "c", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_POP; - } - else if(strncmp(char_mode, "d", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_ROCK; - } - else if(strncmp(char_mode, "e", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_DANCE; - } - else if(strncmp(char_mode, "f", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_JAZZ; - } - else if(strncmp(char_mode, "g", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_CLASSIC; - } - else if(strncmp(char_mode, "h", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_VOCAL; - } - else if(strncmp(char_mode, "i", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_BASS_BOOST; - } - else if(strncmp(char_mode, "j", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_TREBLE_BOOST; - } - else if(strncmp(char_mode, "k", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_MTHEATER; - } - else if(strncmp(char_mode, "l", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_EXT; - } - else if(strncmp(char_mode, "m", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_CAFE; - } - else if(strncmp(char_mode, "n", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_CONCERT_HALL; - } - else if(strncmp(char_mode, "o", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_VOICE; - } - else if(strncmp(char_mode, "p", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_MOVIE; - } - else if(strncmp(char_mode, "q", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_PRESET; - type = MM_AUDIO_FILTER_PRESET_VIRT51; - } -/* Custom EQ */ - else if(strncmp(char_mode, "1", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_EQ; - } -/* Custom Extension */ - else if(strncmp(char_mode, "2", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_3D; - } - else if(strncmp(char_mode, "3", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_BASS; - } - else if(strncmp(char_mode, "4", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_ROOM_SIZE; - } - else if(strncmp(char_mode, "5", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_REVERB_LEVEL; - } - else if(strncmp(char_mode, "6", 1 ) == 0) - { - filter_type = MM_AUDIO_FILTER_TYPE_CUSTOM; - type = MM_AUDIO_FILTER_CUSTOM_CLARITY; - } - else - { - return -1; - } - - /* Apply Sound Effect */ - if (filter_type == MM_AUDIO_FILTER_TYPE_NONE) - { - mm_player_sound_filter_bypass (g_player); - } - else if (filter_type == MM_AUDIO_FILTER_TYPE_PRESET) - { - if (type >= MM_AUDIO_FILTER_PRESET_NORMAL && type <= MM_AUDIO_FILTER_PRESET_NUM) - { - mm_player_sound_filter_preset_apply (g_player, type); - } - } - else if (filter_type == MM_AUDIO_FILTER_TYPE_CUSTOM) - { - if (type == MM_AUDIO_FILTER_CUSTOM_EQ) - { - g_custom_filter_type = type; - return 1; - } - else if (type >= MM_AUDIO_FILTER_CUSTOM_3D && type < MM_AUDIO_FILTER_CUSTOM_NUM) - { - g_custom_filter_type = type; - return 2; - } - } - - return 0; -} -#endif - -static void print_info() -{ -#if 0 - MMHandleType tag_prop = 0, content_prop = 0; - - /* set player configuration */ - MMPlayerGetAttrs(g_player, MM_PLAYER_ATTRS_TAG, &tag_prop); - MMPlayerGetAttrs(g_player, MM_PLAYER_ATTRS_CONTENT, &content_prop); - - if (tag_prop == 0) - return; - - char* tmp_string = NULL; - int tmp_string_len = 0; - int tmp_int = 0; - - printf( "====================================================================================\n" ); - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_ARTIST, &tmp_string, &tmp_string_len); - printf("artist: %s\n", tmp_string); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_TITLE, &tmp_string, &tmp_string_len); - printf("title: %s\n", tmp_string); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_ALBUM, &tmp_string, &tmp_string_len); - printf("album: %s\n", tmp_string); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_GENRE, &tmp_string, &tmp_string_len); - printf("genre: %s\n", tmp_string); - - - // printf("author: %s\n", mmf_attrs_get_string(tag_prop, MM_FILE_TAG_AUTHOR)); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_COPYRIGHT, &tmp_string, &tmp_string_len); - printf("copyright: %s\n", tmp_string); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_DATE, &tmp_string, &tmp_string_len); - printf("date: %s\n", tmp_string); - - MMAttrsGetString (tag_prop, MM_PLAYER_TAG_DESCRIPTION, &tmp_string, &tmp_string_len); - printf("description: %s\n", tmp_string); - - MMAttrsGetInt (tag_prop, MM_PLAYER_TAG_TRACK_NUM,&tmp_int); - printf("track num: %d\n", tmp_int); - - - - MMAttrsGetString (content_prop, MM_PLAYER_CONTENT_VIDEO_CODEC, &tmp_string, &tmp_string_len); - printf("video codec: %s\n", tmp_string); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_AUDIO_TRACK_NUM,&tmp_int); - printf("audio_track_num: %d\n", tmp_int); - if ( tmp_int > 0 ) - { - printf( "------------------------------------------------------------------------------------\n" ); - MMAttrsGetString (content_prop, MM_PLAYER_CONTENT_AUDIO_CODEC, &tmp_string, &tmp_string_len); - printf("audio codec: %s\n", tmp_string); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_AUDIO_SAMPLERATE,&tmp_int); - printf("audio samplerate: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_AUDIO_BITRATE,&tmp_int); - printf("audio bitrate: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_AUDIO_CHANNELS,&tmp_int); - printf("audio channel: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_AUDIO_TRACK_ID,&tmp_int); - printf("audio track id: %d\n", tmp_int); - printf( "------------------------------------------------------------------------------------\n" ); - } - - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_VIDEO_TRACK_NUM,&tmp_int); - printf("video_track_num: %d\n", tmp_int); - if ( tmp_int > 0 ) - { - printf( "------------------------------------------------------------------------------------\n" ); - MMAttrsGetString (content_prop, MM_PLAYER_CONTENT_VIDEO_CODEC, &tmp_string, &tmp_string_len); - printf("video codec: %s\n", tmp_string); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_VIDEO_WIDTH,&tmp_int); - printf("video width: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_VIDEO_HEIGHT,&tmp_int); - printf("video height: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_VIDEO_FPS,&tmp_int); - printf("video fps: %d\n", tmp_int); - - MMAttrsGetInt (content_prop, MM_PLAYER_CONTENT_VIDEO_TRACK_ID,&tmp_int); - printf("video track id: %d\n", tmp_int); - printf( "------------------------------------------------------------------------------------\n" ); - } - printf( "====================================================================================\n" ); - printf("Time analysis...\n"); - - //MMTA_ACUM_ITEM_SHOW_RESULT(); -#endif -} - -void quit_program() -{ - MMTA_ACUM_ITEM_SHOW_RESULT_TO(MMTA_SHOW_STDOUT); - MMTA_RELEASE(); - - mm_player_unrealize(g_player); - mm_player_destroy(g_player); - g_player = 0; - -#ifdef _USE_GTK_TEMP - g_main_loop_quit(g_loop); -#endif - -#ifdef _USE_EFL - elm_exit(); -#endif -} - -void destroy_player() -{ - mm_player_unrealize(g_player); - mm_player_destroy(g_player); - g_player = 0; - g_print("player is destroyed.\n"); -} - -void display_sub_additional() -{ - -} - -void display_sub_basic() -{ - int idx; - - g_print("\n"); - g_print("=========================================================================================\n"); - g_print(" MM-PLAYER Testsuite (press q to quit) \n"); - g_print("-----------------------------------------------------------------------------------------\n"); - g_print("*. Sample List in [%s]\n", MMTS_SAMPLELIST_INI_DEFAULT_PATH); - - for( idx = 1; idx <= INI_SAMPLE_LIST_MAX ; idx++ ) - { - if (strlen (g_file_list[idx-1]) > 0) - g_print("%d. Play [%s]\n", idx, g_file_list[idx-1]); - } - - g_print("-----------------------------------------------------------------------------------------\n"); - g_print("[playback] a. Initialize Media\t"); - g_print("b. Play \t"); - g_print("c. Stop \t"); - g_print("d. Resume\t"); - g_print("e. Pause \n"); - - g_print("[ volume ] f. Set Volume\t"); - g_print("g. Get Volume\n"); - - g_print("[position] h. Set Position (T)\t"); - g_print("i. Get Position\t"); - g_print("r. Set Position (%%)\n"); - - g_print("[ preset ] o. Toggle Audio DSP\t"); - g_print("p. Toggle Video DSP\t"); - g_print("m. Set Play Count\n"); - - g_print("[ option ] sp. Speed Playback \t"); - g_print("sr. Togle Section Play\n"); - g_print("[display ]x. Change display geometry method\t"); - g_print("dv. display visible\t"); - g_print("rv. resize video - fimcconvert only\n"); - - g_print("[ sound ] k. Toggle Fadeup\t"); - g_print("z. Apply Sound Effect\t\n"); - -#if 0 // not available now - g_print(" Progressive Download\n"); - g_print("----------------------\n"); - g_print("!. set Progressive Download enable \n"); - g_print("@. set full-contents-size \n"); - g_print("#. set Download Complete() \n"); - g_print("----------------------\n"); -#endif - - g_print("[subtitle] $. Set subtitle uri\t"); - g_print("%%. Toggle subtitle silent \t"); - g_print("<. Adjust subtitle postion \n"); - - g_print("[ etc ] j. Information\t"); - g_print("l. Buffering Mode\n"); - g_print("[callback] ac. audio stream callback(segment extraction)\t"); - g_print("vc. video stream callback\n"); - - g_print("[ video ] ca. capture\t"); - g_print("ro. rotate\n"); - g_print("[ PD ] pd. Set Progressive Download \n"); - g_print("\n"); - g_print("=========================================================================================\n"); -} - -static bool display_current_filter_callback(int filter_type, int type, void *user) -{ - g_print("%d ", type); - return TRUE; -} - -void display_sub_sound_effect() -{ - g_print("*********** Choose Sound Effect You Want ***********\n"); - g_print("*** current supported Preset filter(index of array)\n"); - g_print(">>> "); - mm_player_get_foreach_present_supported_filter_type(g_player, MM_AUDIO_FILTER_TYPE_PRESET, display_current_filter_callback, NULL); - g_print("\n*** current supported Custom filter(index of array)\n"); - g_print(">>> "); - mm_player_get_foreach_present_supported_filter_type(g_player, MM_AUDIO_FILTER_TYPE_CUSTOM, display_current_filter_callback, NULL); - g_print("\n*** NOTE: Custom filter can be mixed together\n"); - g_print("----------------------------------------------------\n"); - g_print("0. No Sound Effect\n"); - g_print("01. Clear All EQ Bands\n"); - g_print("02. Clear All Extension Filters\n"); - g_print("Preset----------------------------------------------\n"); - g_print("a. Auto\n"); - g_print("b. Normal\n"); - g_print("c. Pop\n"); - g_print("d. Rock\n"); - g_print("e. Dance\n"); - g_print("f. Jazz\n"); - g_print("g. Classic\n"); - g_print("h. Vocal\n"); - g_print("i. Bass Boost\n"); - g_print("j. Treble Boost\n"); - g_print("k. MThreater\n"); - g_print("l. Externalization\n"); - g_print("m. Cafe\n"); - g_print("n. Concert Hall\n"); - g_print("o. Voice\n"); - g_print("p. Movie\n"); - g_print("q. Virtual5.1\n"); - g_print("Custom-Equalizer------------------------------------\n"); - g_print("1. EQ\n"); - g_print("Custom-Extension------------------------------------\n"); - g_print("2. 3D\n"); - g_print("3. Bass\n"); - g_print("4. Room Size\n"); - g_print("5. Reverb Level\n"); - g_print("6. Clarity\n"); - g_print("----------------------------------------------------\n"); -} - - -static void displaymenu() -{ - if (g_menu_state == CURRENT_STATUS_MAINMENU) - { - display_sub_basic(); - } - else if (g_menu_state == CURRENT_STATUS_FILENAME) - { - g_print("*** input mediapath.\n"); - } - else if (g_menu_state == CURRENT_STATUS_VOLUME) - { - g_print("*** input volume value.\n"); - } - else if (g_menu_state == CURRENT_STATUS_PLAYCOUNT) - { - g_print("*** input count num.\n"); - } - else if (g_menu_state == CURRENT_STATUS_POSITION_TIME) - { - g_print("*** input position value(msec)\n"); - } - else if (g_menu_state == CURRENT_STATUS_POSITION_PERCENT) - { - g_print("*** input position percent(%%)\n"); - } - else if ( g_menu_state == CURRENT_STATUS_DISPLAYMETHOD) - { - g_print("*** input option(0,1,2)\n"); - } - else if ( g_menu_state == CURRENT_STATUS_DISPLAY_VISIBLE) - { - g_print("*** input value(0,1)\n"); - } - else if ( g_menu_state == CURRENT_STATUS_RESIZE_VIDEO) - { - g_print("*** input one (1:QCIF, 2:QVGA)\n"); - } - else if (g_menu_state == CURRENT_STATUS_SPEED_PLAYBACK) - { - g_print("*** input playback rate.\n"); - } - else if (g_menu_state == CURRENT_STATUS_PLAYCOUNT) - { - - } -#ifdef AUDIO_FILTER_EFFECT - else if (g_menu_state == CURRENT_STATUS_SOUND_EFFECT) - { - display_sub_sound_effect(); - } - else if (g_menu_state == CURRENT_STATUS_SOUND_EFFECT_EQ) - { - int min = 0; - int max = 0; - int ret = 0; - - /* get number of eq bands */ - if (g_eq_index == 0) - { - ret = mm_player_sound_filter_custom_get_eq_bands_number(g_player, &g_eq_band_num); - if (ret) - { - g_print("getting number of eq band failed\n"); - reset_menu_state(); - } - else - { - g_print("*** number of eq band : %d\n", g_eq_band_num); - } - - /* get min, max value of level */ - ret = mm_player_sound_filter_custom_get_level_range(g_player, MM_AUDIO_FILTER_CUSTOM_EQ, &min, &max); - if (ret) - { - g_print("getting range of level failed\n"); - reset_menu_state(); - } - else - { - g_print("*** eq level range : %d(MIN) - %d(MAX)\n", min, max); - } - } - g_print("*** input band(%d) level of Equalizer\n",g_eq_index); - } - else if (g_menu_state == CURRENT_STATUS_SOUND_EFFECT_EXT) - { - int min = 0; - int max = 0; - int ret = 0; - - ret = mm_player_sound_filter_custom_get_level_range(g_player, g_custom_filter_type, &min, &max); - if (ret) - { - g_print("filter type(%d).getting range of level failed\n", g_custom_filter_type); - reset_menu_state(); - } - else - { - g_print("*** filter type(%d). level range : %d(MIN) - %d(MAX)\n", g_custom_filter_type, min, max); - } - g_print("*** input level of custom extension filter(%d)\n",g_custom_filter_type); - } -#endif - else if (g_menu_state == CURRENT_STATUS_SUBTITLE_FILENAME) - { - g_print(" ** input subtitle file path.\n"); - } - else if (g_menu_state == CURRENT_STATUS_ADJUST_SUBTITLE_POSITION) - { - g_print("*** input adjusted value(msec)\n"); - } - else - { - g_print("*** unknown status.\n"); - quit_program(); - } - g_print(" >>> "); -} - -gboolean timeout_menu_display(void* data) -{ - displaymenu(); - return FALSE; -} - -gboolean timeout_quit_program(void* data) -{ - quit_program(); - return FALSE; -} - -void set_playcount(int count) -{ - mm_player_set_attribute(g_player, &g_err_name, "profile_play_count", count, NULL); -} - -void toggle_audiosink_fadeup() -{ - static gboolean flag_fadeup = FALSE; - - SET_TOGGLE(flag_fadeup); - - g_print("fadeup value to set : %d\n", flag_fadeup); - - mm_player_set_attribute(g_player, &g_err_name, "no_sound_output", flag_fadeup, NULL); - -} - -void toggle_sound_spk_out_only() -{ - static gboolean flag_spk_out = FALSE; - - SET_TOGGLE(flag_spk_out); - - g_print("flag_spk_out value to set : %d\n", flag_spk_out); - - mm_player_set_attribute(g_player, &g_err_name, "sound_spk_out_only", flag_spk_out, NULL); - -} - -void toggle_section_repeat(void) -{ - static gboolean flag_sr = FALSE; - int pos; - int offset = 4000; - - SET_TOGGLE(flag_sr); - - if ( flag_sr ) - { - g_print("section repeat activated\n"); - - mm_player_get_position(g_player, MM_PLAYER_POS_FORMAT_TIME, &pos); - - mm_player_activate_section_repeat(g_player, pos, pos+offset); - } - else - { - g_print("section repeat deactivated\n"); - - mm_player_deactivate_section_repeat(g_player); - } -} - -void reset_menu_state(void) -{ - g_menu_state = CURRENT_STATUS_MAINMENU; -} - - -void play_with_ini(char *file_path) - { - input_filename(file_path); - player_play(); -} - -gboolean start_pushing_buffers; -guint64 offset; -guint size_to_be_pushed; - -gboolean seek_flag; - -char filename_push[256]; - -void enough_data(void *player) -{ - g_print("__enough_data\n"); - start_pushing_buffers = FALSE; - -} - -void set_pd_test() -{ - gchar* path = NULL; - - //g_strdup( - mm_player_set_attribute(g_player, &g_err_name, "pd_mode", MM_PLAYER_PD_MODE_URI, NULL); - mm_player_set_attribute(g_player, &g_err_name, "pd_location", MM_PLAYER_TS_PD_PATH, strlen(MM_PLAYER_TS_PD_PATH), NULL); -} - -void feed_data(guint size, void *player) -{ - g_print("__feed_data:%d\n", size); - start_pushing_buffers = TRUE; - size_to_be_pushed = size; -} -void seek_data(guint64 _offset, void *player) -{ - g_print("__seek_data:%lld\n", _offset); - start_pushing_buffers = TRUE; - offset=_offset; - seek_flag=TRUE; -} - -void push_buffer() -{ - FILE *fp=fopen(filename_push, "rb"); - unsigned char *buf=NULL; - int size; - guint64 read_position=0; - //int err; - g_print("filename:%s\n", filename_push); - if(fp==NULL) - { - g_print("not a valid filename\n"); - quit_program(); - return; - } - - seek_flag=FALSE; - - while(!quit_pushing) - { - if(!start_pushing_buffers) - { - usleep(10000); - continue; - } - - //g_print("trying to push\n"); - if (read_position != offset && seek_flag==TRUE) - { - guint64 res; - - res = fseek (fp, offset, SEEK_SET); - - read_position = offset; - - g_print("seeking to %lld\n", offset); - } - - seek_flag=FALSE; - - if(size_to_be_pushed) - size = size_to_be_pushed; - else - size = 4096; - - buf = (unsigned char *)malloc(size); - if(buf==NULL) - { - g_print("mem alloc failed\n"); - break; - } - size = fread(buf, 1, size, fp); - - if(size<=0) - { - g_print("EOS\n"); - start_pushing_buffers=FALSE; - mm_player_push_buffer((MMHandleType)g_player, buf, size); - break; -// continue; - } - //g_print("pushing:%d\n", size); - read_position += size; - size_to_be_pushed=0; - mm_player_push_buffer((MMHandleType)g_player, buf, size); - //usleep(10000); - } - fclose(fp); - -} - -void _interpret_main_menu(char *cmd) -{ - if ( strlen(cmd) == 1 ) - { - if (strncmp(cmd, "a", 1) == 0) - { - g_menu_state = CURRENT_STATUS_FILENAME; - } - else if (strncmp(cmd, "l", 1) == 0) - { - //play_with_ini(g_file_list[0]); - input_filename("buff://"); - mm_player_set_buffer_need_data_callback(g_player, (mm_player_buffer_need_data_callback )(feed_data), NULL); - mm_player_set_buffer_seek_data_callback(g_player, (mm_player_buffer_seek_data_callback )(seek_data), NULL); - mm_player_set_buffer_enough_data_callback(g_player, (mm_player_buffer_enough_data_callback )(enough_data), NULL); - pthread_t tid1; - printf("provide the filename:"); - scanf("%s", filename_push); - - pthread_create(&tid1,NULL,push_buffer,NULL); - - // sleep(2); - - player_play(); - } - else if (strncmp(cmd, "1", 1) == 0) - { - play_with_ini(g_file_list[0]); - } - else if (strncmp(cmd, "2", 1) == 0) - { - play_with_ini(g_file_list[1]); - } - else if (strncmp(cmd, "3", 1) == 0) - { - play_with_ini(g_file_list[2]); - } - else if (strncmp(cmd, "4", 1) == 0) - { - play_with_ini(g_file_list[3]); - } - else if (strncmp(cmd, "5", 1) == 0) - { - play_with_ini(g_file_list[4]); - } - else if (strncmp(cmd, "6", 1) == 0) - { - play_with_ini(g_file_list[5]); - } - else if (strncmp(cmd, "7", 1) == 0) - { - play_with_ini(g_file_list[6]); - } - else if (strncmp(cmd, "8", 1) == 0) - { - play_with_ini(g_file_list[7]); - } - else if (strncmp(cmd, "9", 1) == 0) - { - play_with_ini(g_file_list[8]); - } - else if (strncmp(cmd, "b", 1) == 0) - { - player_play(); - } - else if (strncmp(cmd, "c", 1) == 0) - { - player_stop(); - } - else if (strncmp(cmd, "d", 1) == 0) - { - player_resume(); - } - else if (strncmp(cmd, "e", 1) == 0) - { - player_pause(); - } - else if (strncmp(cmd, "f", 1) == 0) - { - g_menu_state = CURRENT_STATUS_VOLUME; - } - else if (strncmp(cmd, "g", 1) == 0) - { - MMPlayerVolumeType volume = {0, }; - get_volume(&volume); - } - else if (strncmp(cmd, "h", 1) == 0 ) - { - g_menu_state = CURRENT_STATUS_POSITION_TIME; - } - else if (strncmp(cmd, "r", 1) == 0 ) - { - g_menu_state = CURRENT_STATUS_POSITION_PERCENT; - } - else if (strncmp(cmd, "i", 1) == 0 ) - { - get_position(); - } - else if (strncmp(cmd, "j", 1) == 0) - { - print_info(); - } - else if (strncmp(cmd, "o", 1) == 0) - { - gboolean old = g_audio_dsp; - if (old) - g_audio_dsp =0; - else - g_audio_dsp =1; - - g_print (">> g_audio_dsp = [%d] => [%d]\n", old, g_audio_dsp); - } - else if (strncmp(cmd, "p", 1) == 0) - { - gboolean old = g_video_dsp; - if (old) - g_video_dsp =0; - else - g_video_dsp =1; - - g_print (">> g_video_dsp = [%d] => [%d]\n", old, g_video_dsp); - } - else if ( strncmp(cmd, "k", 1) == 0 ) - { - toggle_audiosink_fadeup(); - } - else if (strncmp(cmd, "m", 1) == 0) - { - g_menu_state = CURRENT_STATUS_PLAYCOUNT; - } - else if (strncmp (cmd, "x", 1) == 0) - { - g_menu_state = CURRENT_STATUS_DISPLAYMETHOD; - } -#ifdef _USE_XVIMAGESINK - else if (strncmp (cmd, "x", 1) == 0) - { - change_fullscreen(overlay); - } - else if (strncmp (cmd, "y", 1) == 0) - { - change_fullscreen(overlay); - } -#endif -#ifdef AUDIO_FILTER_EFFECT - else if (strncmp (cmd, "z", 1) == 0) - { - g_menu_state = CURRENT_STATUS_SOUND_EFFECT; - } -#endif - else if (strncmp(cmd, "u", 1) == 0) - { - destroy_player(); - } - else if (strncmp(cmd, "q", 1) == 0) - { - quit_pushing = TRUE; - quit_program(); - } - else if (strncmp(cmd, "[", 1) == 0) - { - toggle_sound_spk_out_only (); - } - else if (strncmp(cmd, "{", 1) == 0) - { - g_print ("mm_session_init(MM_SESSION_TYPE_SHARE) = %d\n", mm_session_init (MM_SESSION_TYPE_SHARE)); - } - else if (strncmp(cmd, "}", 1) == 0) - { - g_print ("mm_session_init(MM_SESSION_TYPE_EXCLUSIVE) = %d\n", mm_session_init (MM_SESSION_TYPE_EXCLUSIVE)); - } - else if(strncmp(cmd, "$", 1) == 0) - { - g_menu_state=CURRENT_STATUS_SUBTITLE_FILENAME; - } - else if(strncmp(cmd, "%", 1) == 0) - { - if (g_subtitle_silent) - g_subtitle_silent = FALSE; - else - g_subtitle_silent = TRUE; - - toggle_subtitle_silent (g_subtitle_silent); - - reset_menu_state(); - } - else if(strncmp(cmd, "<", 1) == 0) - { - g_menu_state = CURRENT_STATUS_ADJUST_SUBTITLE_POSITION; - } - else - { - g_print("unknown menu \n"); - } - } - else - { - if (strncmp(cmd, "sp", 2) == 0) - { - g_menu_state = CURRENT_STATUS_SPEED_PLAYBACK; - } - else if (strncmp(cmd, "ca", 2) == 0) - { - player_capture(); - } - else if (strncmp(cmd, "ro", 2) == 0) - { - player_rotate(); - } - else if (strncmp(cmd, "sr", 2) == 0) - { - toggle_section_repeat(); - } - else if (strncmp(cmd, "ac", 2) == 0) - { - /* It should be called before starting play. */ - set_audio_callback(); - } - else if (strncmp(cmd, "vc", 2) == 0) - { - set_video_callback(); - } - else if (strncmp(cmd, "pd", 2) == 0) - { - set_pd_test(); - } - else if (strncmp (cmd, "dv", 2) == 0) - { - g_menu_state = CURRENT_STATUS_DISPLAY_VISIBLE; - } - else if (strncmp (cmd, "rv", 2) == 0) - { - g_menu_state = CURRENT_STATUS_RESIZE_VIDEO; - } - else if (strncmp(cmd, "help", 4) == 0) - { - g_timeout_add(100, timeout_menu_display, 0); - } - } -} - -static void interpret (char *cmd) -{ - switch (g_menu_state) - { - case CURRENT_STATUS_MAINMENU: - { - _interpret_main_menu(cmd); - } - break; - - case CURRENT_STATUS_FILENAME: - { - input_filename(cmd); - - reset_menu_state(); - } - break; - - case CURRENT_STATUS_VOLUME: - { - MMPlayerVolumeType volume; - int i; - float level = atof(cmd); - - g_print ("level = [%f]\n", level); - - for(i=0; i>Window ID : %d\n", xid); - - return FALSE; -} -#endif - -#ifdef _USE_XVIMAGESINK -GtkWidget *event_win; - -void change_fullscreen(GtkWidget* widget) -{ - static gboolean is_full = FALSE; - GtkWidget *main_window; - GtkWidget * form; - - is_full = (is_full)?FALSE:TRUE; - - main_window = GTK_MAIN_WINDOW(gtk_widget_get_toplevel(widget)); - form = gtk_main_window_get_current_form(GTK_MAIN_WINDOW(main_window)); - - if(is_full) - { - gtk_main_window_set_title_style(main_window, GTK_WIN_TITLE_STYLE_NONE); - gtk_form_set_has_softkey(GTK_FORM(form), FALSE); - gtk_window_fullscreen(GTK_WINDOW(main_window)); - - gtk_widget_show_all(event_win); - } - else - { - gtk_main_window_set_title_style(main_window, GTK_WIN_TITLE_STYLE_TEXT_ICON); - gtk_form_set_has_softkey(GTK_FORM(form), TRUE); - - gtk_form_add_softkey(GTK_FORM(form), "Full Screen", NULL, SOFTKEY_CALLBACK, softkey_cb_select_and_back, NULL); - - gtk_window_unfullscreen(GTK_WINDOW(main_window)); - - gtk_widget_hide_all(event_win); - } -} - -gboolean -softkey_cb_select_and_back(GtkWidget *widget, SoftkeyPosition position, gpointer data) -{ - GtkWidget *main_window; - GtkWidget * form; - - #if 0 - main_window = GTK_MAIN_WINDOW(gtk_widget_get_toplevel(widget)); - if( GTK_IS_WIDGET(main_window) ) - { - form = gtk_main_window_get_current_form(GTK_MAIN_WINDOW(main_window)); - } - #endif - - switch(position) { - case SOFTKEY1: - change_fullscreen(widget); - break; - case SOFTKEY2: - case SOFTKEY3: - case SOFTKEY4: - default: - return FALSE; - } - - return FALSE; -} -#endif - -void make_window() -{ - -#if defined(_USE_XVIMAGESINK) && defined(_USE_GTK) - //Create Overlay Widget - gtk_init(&argc, &argv); - - root = gtk_main_window_new(GTK_WIN_STYLE_DEFAULT); - form = gtk_form_new(TRUE); - overlay = gtk_overlay_drawing_new(); - - gtk_main_window_set_title_style(root, GTK_WIN_TITLE_STYLE_TEXT_ICON); - - gtk_form_add_softkey(GTK_FORM(form), "Full Screen", NULL, SOFTKEY_CALLBACK, softkey_cb_select_and_back, overlay); - - gtk_main_window_add_form(root, form); - gtk_main_window_set_current_form(root, form); - gtk_container_add(GTK_CONTAINER(form), overlay); - - g_signal_connect (overlay, "expose_event", G_CALLBACK(overlay_expose), NULL); - - gtk_widget_show_all(root); - gdk_gc_set_alpha(root->style->bg_gc[GTK_STATE_NORMAL], 0); - gdk_gc_set_alpha(overlay->style->bg_gc[GTK_STATE_NORMAL], 0); - - /*Create button window*/ - GtkWidget *button; - - event_win = gtk_event_box_new(); - button=gtk_button_new_with_label("BackToNormal"); - - g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (change_fullscreen), (gpointer)NULL); - - gtk_container_add(GTK_CONTAINER(event_win), button); - gtk_container_add(GTK_CONTAINER(overlay), event_win); - gtk_widget_set_uposition(event_win, 50, 50); -#elif defined(_USE_GTK) && !defined(_USE_XVIMAGESINK) && !defined(_USE_V4L2SINK) - GtkAllocation allocation; - - root = gtk_main_window_new(GTK_WIN_STYLE_DEFAULT); - - gtk_widget_set_colormap(root, gdk_screen_get_rgba_colormap(gtk_widget_get_screen(root))); - - overlay = gtk_overlay_drawing_new(); - gtk_overlay_drawing_set_type(overlay, GTK_OVERLAY_TYPE_YUV420); - gtk_widget_set_size_request(overlay, FULL_WIDTH, FULL_HEIGHT); - - allocation.x = 0; - allocation.y = 0; - - allocation.width = FULL_WIDTH; - allocation.height = FULL_HEIGHT; - - gtk_widget_size_allocate(overlay, &allocation); - - fixed = gtk_fixed_new(); - form = gtk_form_new(FALSE); - - gtk_main_window_add_form(GTK_MAIN_WINDOW(root), GTK_FORM(form)); - gtk_main_window_set_current_form(GTK_MAIN_WINDOW(root), GTK_FORM(form)); - gtk_container_add(GTK_CONTAINER(form), fixed); - gtk_fixed_put (GTK_FIXED (fixed), overlay, 0, 0); - - gtk_widget_show_all(root); - gdk_gc_set_alpha(root->style->bg_gc[GTK_STATE_NORMAL], 0); - gdk_gc_set_alpha(overlay->style->bg_gc[GTK_STATE_NORMAL], 0); -#endif /* _USE_XVIMAGESINK */ -} - -// format: -// mm_player_testsuite [media-filename [-NUM]] -// NUM is the number of iterations to perform -int main(int argc, char *argv[]) -{ - int ret = 0; - GIOChannel *stdin_channel; - MMTA_INIT(); - -#ifdef MTRACE - mtrace(); - MMHandleType prop; - GError *error = NULL; -#endif - - stdin_channel = g_io_channel_unix_new(0); - g_io_add_watch(stdin_channel, G_IO_IN, (GIOFunc)input, NULL); - - make_window(); - //init_file_path(); - - #ifdef PCM_DUMP - g_pcm_dump_fp = fopen(DUMP_PCM_NAME, "w+"); - #endif - -#ifdef __arm__ - // initialize sound path for using ear -#if 0 - ret = MMSoundSetPathEx2(MM_SOUND_GAIN_KEYTONE, MM_SOUND_PATH_SPK, MM_SOUND_PATH_NONE, MM_SOUND_PATH_OPTION_AUTO_HEADSET_CONTROL); - - if(ret < 0) - { - printf("path error\n"); - return -1; - } -#endif - -#endif // __arm__ - - displaymenu(); - -#if defined(_USE_GTK) - g_loop = g_main_loop_new(NULL, FALSE); - g_main_loop_run(g_loop); - return 0; -#elif defined(_USE_EFL) - memset(&ad, 0x0, sizeof(struct appdata)); - ops.data = &ad; - - return appcore_efl_main(PACKAGE, &argc, &argv, &ops); -#endif - -} - -- 2.34.1