diff --git a/mpp/sample/pwm/light_pwm.c b/mpp/sample/pwm/light_pwm.c index 1cd1126..33ff25f 100644 --- a/mpp/sample/pwm/light_pwm.c +++ b/mpp/sample/pwm/light_pwm.c @@ -97,7 +97,7 @@ int get_parameter(struct decoce_param *pparam) printf("config file parse filed!\n"); return -1; } - pparam->light = get_conf_int("light", 0); + pparam->light = get_conf_int("light", 1200); //pparam->osd_on = get_conf_int("osd_on", 0); printf("light %d \n",pparam->light); return 0; diff --git a/mpp/sample/vdec_udp_h265/udp_get_nal_frame.c b/mpp/sample/vdec_udp_h265/udp_get_nal_frame.c index f6472c2..772e578 100644 --- a/mpp/sample/vdec_udp_h265/udp_get_nal_frame.c +++ b/mpp/sample/vdec_udp_h265/udp_get_nal_frame.c @@ -80,7 +80,7 @@ int init_net(){ socket_descriptor[i]=socket(AF_INET,SOCK_DGRAM,0);//IPV4 - tv.tv_sec = 4; + tv.tv_sec = 2; tv.tv_usec = 0; if (setsockopt(socket_descriptor[i], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) { printf("socket option SO_RCVTIMEO not support\n"); diff --git a/mpp/sample/vdec_udp_h265/vdec_udp_h265 b/mpp/sample/vdec_udp_h265/vdec_udp_h265 index 565d375..3046e0f 100644 Binary files a/mpp/sample/vdec_udp_h265/vdec_udp_h265 and b/mpp/sample/vdec_udp_h265/vdec_udp_h265 differ