Permalink
Browse files

capenc: Change name of display data

  • Loading branch information...
1 parent d2a9b7a commit d6064ce3826b9048342c65a1809b48dc94a99bec @pedwo pedwo committed with Apr 6, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 gst/shvideo/gstshvideocapenc.c
View
10 gst/shvideo/gstshvideocapenc.c
@@ -77,7 +77,7 @@ struct _GstSHVideoCapEnc {
struct Queue * captured_queue;
- void *p_display;
+ void *display;
pthread_mutex_t launch_mutex;
pthread_mutex_t encode_start_mutex;
@@ -259,7 +259,7 @@ static void *blit_thread(void *data)
pthread_mutex_unlock(&pvt->encode_start_mutex);
if (pvt->preview == PREVIEW_ON) {
- display_update(pvt->p_display,
+ display_update(pvt->display,
enc_y,
enc_c,
pvt->width,
@@ -321,7 +321,7 @@ static void gst_shvideo_enc_dispose(GObject * object)
}
if (shvideoenc->preview == PREVIEW_ON) {
- display_close(shvideoenc->p_display);
+ display_close(shvideoenc->display);
}
shveu_close();
@@ -721,8 +721,8 @@ static void *launch_camera_encoder_thread(void *data)
/* Display output */
if (enc->preview == PREVIEW_ON) {
- enc->p_display = display_open(enc->veu);
- if (!enc->p_display) {
+ enc->display = display_open(enc->veu);
+ if (!enc->display) {
GST_ELEMENT_ERROR((GstElement *) enc, CORE, FAILED,
("Error opening fb device"), (NULL));
}

0 comments on commit d6064ce

Please sign in to comment.