Change default ini value 97/169097/2
authorSeokHoon Lee <andy.shlee@samsung.com>
Fri, 2 Feb 2018 06:56:52 +0000 (15:56 +0900)
committerSeokHoon LEE <andy.shlee@samsung.com>
Fri, 2 Feb 2018 08:08:18 +0000 (08:08 +0000)
 - Change default sink ini value for device
   that doesn't have ini file.

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ifc78addd993062fbc65f817dd554cb47a7907b80

src/mm_wfd_sink_ini.c

index 09b3153..5dafa11 100644 (file)
 #define DEFAULT_ENABLE_RETRANSMISSION  FALSE
 #define DEFAULT_ENABLE_RESET_BASETIME  TRUE
 #define DEFAULT_VIDEO_SINK_MAX_LATENESS 20000000 /* nsec */
-#define DEFAULT_SINK_TS_OFFSET 150000000 /* nsec */
+#define DEFAULT_SINK_TS_OFFSET 250000000 /* nsec */
 #define DEFAULT_AUDIO_SINK_ASYNC FALSE
 #define DEFAULT_VIDEO_SINK_ASYNC FALSE
-#define DEFAULT_USER_AGENT "TIZEN3_0/WFD-SINK"
+#define DEFAULT_USER_AGENT ""
 
 /* Debug */
 #define DEFAULT_GENERATE_DOT   FALSE
 #define DEFAULT_DUMP_RTSP_MESSAGE      TRUE
 #define DEFAULT_TRACE_BUFFERS  FALSE
-#define DEFAULT_TRACE_FIRST_BUFFER   TRUE
+#define DEFAULT_TRACE_FIRST_BUFFER   FALSE
 #define DEFAULT_TRACE_BUFFERS_OF_WFDSRC        FALSE
 #define DEFAULT_DUMP_TS_DATA           FALSE
 #define DEFAULT_DUMP_RTP_DATA FALSE
 
 /* Pipeline */
 #define DEFAULT_NAME_OF_SOURCE "wfdsrc"
-#define DEFAULT_NAME_OF_TSDEMUX ""
+#define DEFAULT_NAME_OF_TSDEMUX "wfdtsdemux"
 #define DEFAULT_NAME_OF_AUDIO_HDCP ""
-#define DEFAULT_NAME_OF_AAC_PARSER ""
-#define DEFAULT_NAME_OF_AAC_DECODER ""
-#define DEFAULT_NAME_OF_AC3_PARSER ""
+#define DEFAULT_NAME_OF_AAC_PARSER "aacparse"
+#define DEFAULT_NAME_OF_AAC_DECODER "avdec_aac"
+#define DEFAULT_NAME_OF_AC3_PARSER "ac3parse"
 #define DEFAULT_NAME_OF_AC3_DECODER ""
 #define DEFAULT_NAME_OF_LPCM_CONVERTER ""
-#define DEFAULT_NAME_OF_LPCM_FILTER ""
-#define DEFAULT_NAME_OF_AUDIO_RESAMPLER ""
+#define DEFAULT_NAME_OF_LPCM_FILTER "capsfilter"
+#define DEFAULT_NAME_OF_AUDIO_RESAMPLER "audioconvert"
 #define DEFAULT_NAME_OF_AUDIO_VOLUME ""
 #define DEFAULT_NAME_OF_AUDIO_SINKBIN_QUEUE ""
-#define DEFAULT_NAME_OF_AUDIO_SINK ""
+#define DEFAULT_NAME_OF_AUDIO_SINK "pulsesink"
 #define DEFAULT_NAME_OF_VIDEO_HDCP ""
-#define DEFAULT_NAME_OF_VIDEO_H264_PARSER ""
-#define DEFAULT_NAME_OF_VIDEO_H264_DECODER ""
+#define DEFAULT_NAME_OF_VIDEO_H264_PARSER "h264parse"
+#define DEFAULT_NAME_OF_VIDEO_H264_DECODER "avdec_h264"
 #define DEFAULT_NAME_OF_VIDEO_H265_PARSER ""
 #define DEFAULT_NAME_OF_VIDEO_H265_DECODER ""
 #define DEFAULT_NAME_OF_VIDEO_VP9_PARSER ""
 #define DEFAULT_NAME_OF_VIDEO_VP9_DECODER ""
 #define DEFAULT_NAME_OF_VIDEO_CONVERTER ""
 #define DEFAULT_NAME_OF_VIDEO_FILTER ""
-#define DEFAULT_NAME_OF_VIDEO_SINK ""
-#define DEFAULT_NAME_OF_EVAS_VIDEO_SINK ""
+#define DEFAULT_NAME_OF_VIDEO_SINK "tizenwlsink"
+#define DEFAULT_NAME_OF_EVAS_VIDEO_SINK "evaspixmapsink"
 
 /* Audio */
 #define DEFAULT_WFD_AUDIO_CODECS_CODEC WFD_AUDIO_LPCM | WFD_AUDIO_AAC
 #define DEFAULT_WFD2_VIDEO_FORMATS_NON_TRANSCODING_SUPPORT 0
 
 /*R2 H264*/
-#define DEFAULT_WFD2_VIDEO_H264_CEA_SUPPORT "0x84ab"
-#define DEFAULT_WFD2_VIDEO_H264_VESA_SUPPORT "0x1"
+#define DEFAULT_WFD2_VIDEO_H264_CEA_SUPPORT "0x194ab"
+#define DEFAULT_WFD2_VIDEO_H264_VESA_SUPPORT "0x5555555"
 #define DEFAULT_WFD2_VIDEO_H264_HH_SUPPORT "0x555"
 #define DEFAULT_WFD2_VIDEO_H264_PROFILE WFD_H264_BASE_PROFILE
 #define DEFAULT_WFD2_VIDEO_H264_LEVEL WFD_H264_LEVEL_3_2
 #define DEFAULT_WFD2_VIDEO_H264_LATENCY 0x0
-#define DEFAULT_WFD2_VIDEO_H264_VERTICAL_RESOLUTION 720
-#define DEFAULT_WFD2_VIDEO_H264_HORIZONTAL_RESOLUTION 1280
+#define DEFAULT_WFD2_VIDEO_H264_VERTICAL_RESOLUTION 1080
+#define DEFAULT_WFD2_VIDEO_H264_HORIZONTAL_RESOLUTION 1920
 #define DEFAULT_WFD2_VIDEO_H264_MIN_SLICESIZE 0
 #define DEFAULT_WFD2_VIDEO_H264_SLICE_ENC_PARAM 200
-#define DEFAULT_WFD2_VIDEO_H264_FRAMERATE_CONTROL 11
+#define DEFAULT_WFD2_VIDEO_H264_FRAMERATE_CONTROL 0
 
 /*R2 H265*/
-#define DEFAULT_WFD2_VIDEO_H265_CEA_SUPPORT "0x84ab"
-#define DEFAULT_WFD2_VIDEO_H265_VESA_SUPPORT "0x1"
+#define DEFAULT_WFD2_VIDEO_H265_CEA_SUPPORT "0x394ab"
+#define DEFAULT_WFD2_VIDEO_H265_VESA_SUPPORT "0x5555555"
 #define DEFAULT_WFD2_VIDEO_H265_HH_SUPPORT "0x555"
 #define DEFAULT_WFD2_VIDEO_H265_PROFILE WFD_H265_MAIN_PROFILE
-#define DEFAULT_WFD2_VIDEO_H265_LEVEL WFD_H265_LEVEL_3_1
+#define DEFAULT_WFD2_VIDEO_H265_LEVEL WFD_H265_LEVEL_4
 #define DEFAULT_WFD2_VIDEO_H265_LATENCY 0x0
-#define DEFAULT_WFD2_VIDEO_H265_VERTICAL_RESOLUTION 720
-#define DEFAULT_WFD2_VIDEO_H265_HORIZONTAL_RESOLUTION 1280
+#define DEFAULT_WFD2_VIDEO_H265_VERTICAL_RESOLUTION 2360
+#define DEFAULT_WFD2_VIDEO_H265_HORIZONTAL_RESOLUTION 3840
 #define DEFAULT_WFD2_VIDEO_H265_MIN_SLICESIZE 0
 #define DEFAULT_WFD2_VIDEO_H265_SLICE_ENC_PARAM 200
-#define DEFAULT_WFD2_VIDEO_H265_FRAMERATE_CONTROL 11
+#define DEFAULT_WFD2_VIDEO_H265_FRAMERATE_CONTROL 0
 
 /*R2 Audio*/
 #define DEFAULT_WFD2_AUDIO_CODECS_CODEC WFD_AUDIO_LPCM | WFD_AUDIO_AAC