[UTC][mediamuxer][NonACR][Changed test content due to license issue]
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 25 Oct 2016 06:27:06 +0000 (15:27 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 25 Oct 2016 06:27:10 +0000 (15:27 +0900)
Change-Id: I51995fc372477756ca208d156de30f105bd907ca

src/utc/mediamuxer/res/mobile/output3.h264
src/utc/mediamuxer/res/tv/output3.h264
src/utc/mediamuxer/res/wearable/output3.h264
src/utc/mediamuxer/utc-mediamuxer.c

index b08c2b7..83016b9 100644 (file)
Binary files a/src/utc/mediamuxer/res/mobile/output3.h264 and b/src/utc/mediamuxer/res/mobile/output3.h264 differ
index b08c2b7..83016b9 100755 (executable)
Binary files a/src/utc/mediamuxer/res/tv/output3.h264 and b/src/utc/mediamuxer/res/tv/output3.h264 differ
index b08c2b7..83016b9 100755 (executable)
Binary files a/src/utc/mediamuxer/res/wearable/output3.h264 and b/src/utc/mediamuxer/res/wearable/output3.h264 differ
index 6c3286c..b52a503 100755 (executable)
@@ -89,10 +89,10 @@ void utc_mediamuxer_startup(void)
                        PRINT_UTC_LOG("[Line : %d][%s] media_format_set_video_mime failed, API returned %d. Invalid=%d, invalid ope=%d",
                                __LINE__, API_NAMESPACE, ret, MEDIA_FORMAT_ERROR_INVALID_PARAMETER, MEDIA_FORMAT_ERROR_INVALID_OPERATION);
                }
-               media_format_set_video_width(media_format, 320);
-               media_format_set_video_height(media_format, 180);
-               media_format_set_video_avg_bps(media_format, 10);
-               media_format_set_video_max_bps(media_format, 10);
+               media_format_set_video_width(media_format, 640);
+               media_format_set_video_height(media_format, 480);
+               media_format_set_video_avg_bps(media_format, 1200);
+               media_format_set_video_max_bps(media_format, 1580);
        }
 
        mediamuxer_set_data_sink(g_media_muxer, uri, format);
@@ -320,10 +320,10 @@ int utc_mediamuxer_write_sample_p(void)
        int ret = MEDIAMUXER_ERROR_INVALID_PARAMETER;
 
        FILE *pvFile = NULL;
-       unsigned int vsize = 1395;
+       unsigned int vsize = 5637;
        uint64_t pts_vid = 0;
        uint64_t dts_vid = 0;
-       uint64_t duration_vid = 40000000;
+       uint64_t duration_vid = 33000000;
        int track_index_vid = 1;
        int ret_scan;
        media_packet_h vid_pkt;
@@ -342,17 +342,17 @@ int utc_mediamuxer_write_sample_p(void)
 
        media_format_make_writable(media_format, &media_format2);
 
-       if (media_format_set_video_width(media_format2, 320)) {
+       if (media_format_set_video_width(media_format2, 640)) {
                PRINT_UTC_LOG("media_format_set_video_width failed\n");
                goto ERROR;
        }
-       if (media_format_set_video_height(media_format2, 180)) {
+       if (media_format_set_video_height(media_format2, 480)) {
                PRINT_UTC_LOG("media_format_set_video_height failed\n");
                goto ERROR;
        }
 
        /*frame rate is came from the caps filter of demuxer*/
-       if (media_format_set_video_frame_rate(media_format2, 25)) {
+       if (media_format_set_video_frame_rate(media_format2, 30)) {
                PRINT_UTC_LOG("media_format_set_video_frame_rate failed\n");
                goto ERROR;
        }