pleorasrc: run gst-indent
This commit is contained in:
parent
e1d0574ecf
commit
ef1242fd81
@ -972,7 +972,8 @@ gst_pleorasrc_set_caps (GstBaseSrc * bsrc, GstCaps * caps)
|
|||||||
if (GST_VIDEO_INFO_FORMAT (&vinfo) != GST_VIDEO_FORMAT_UNKNOWN) {
|
if (GST_VIDEO_INFO_FORMAT (&vinfo) != GST_VIDEO_FORMAT_UNKNOWN) {
|
||||||
src->height = GST_VIDEO_INFO_HEIGHT (&vinfo);
|
src->height = GST_VIDEO_INFO_HEIGHT (&vinfo);
|
||||||
src->gst_stride = GST_VIDEO_INFO_COMP_STRIDE (&vinfo, 0);
|
src->gst_stride = GST_VIDEO_INFO_COMP_STRIDE (&vinfo, 0);
|
||||||
src->pleora_stride = GST_VIDEO_INFO_WIDTH (&vinfo) * GST_VIDEO_INFO_COMP_PSTRIDE (&vinfo, 0);
|
src->pleora_stride =
|
||||||
|
GST_VIDEO_INFO_WIDTH (&vinfo) * GST_VIDEO_INFO_COMP_PSTRIDE (&vinfo, 0);
|
||||||
} else {
|
} else {
|
||||||
goto unsupported_caps;
|
goto unsupported_caps;
|
||||||
}
|
}
|
||||||
@ -1066,7 +1067,6 @@ gst_pleorasrc_create (GstPushSrc * psrc, GstBuffer ** buf)
|
|||||||
{
|
{
|
||||||
GstPleoraSrc *src = GST_PLEORA_SRC (psrc);
|
GstPleoraSrc *src = GST_PLEORA_SRC (psrc);
|
||||||
PvResult pvRes, opRes;
|
PvResult pvRes, opRes;
|
||||||
guint32 dropped_frames;
|
|
||||||
GstClock *clock;
|
GstClock *clock;
|
||||||
GstClockTime clock_time;
|
GstClockTime clock_time;
|
||||||
PvBuffer *pvbuffer;
|
PvBuffer *pvbuffer;
|
||||||
@ -1152,7 +1152,7 @@ gst_pleorasrc_create (GstPushSrc * psrc, GstBuffer ** buf)
|
|||||||
|
|
||||||
*buf = gst_buffer_new_and_alloc (src->height * src->gst_stride);
|
*buf = gst_buffer_new_and_alloc (src->height * src->gst_stride);
|
||||||
|
|
||||||
guint8 *s = (guint8*)data;
|
guint8 *s = (guint8 *) data;
|
||||||
guint8 *d;
|
guint8 *d;
|
||||||
|
|
||||||
gst_buffer_map (*buf, &minfo, GST_MAP_WRITE);
|
gst_buffer_map (*buf, &minfo, GST_MAP_WRITE);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user