Don't set the actual video size in gst_video_sink_got_video_size().
authorDavid Schleef <ds@schleef.org>
Fri, 7 Nov 2003 04:36:41 +0000 (04:36 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 7 Nov 2003 04:36:41 +0000 (04:36 +0000)
Original commit message from CVS:
Don't set the actual video size in gst_video_sink_got_video_size().
This could probably be replaced once we handle pixel aspect ratios.

gst-libs/gst/video/gstvideosink.c

index 40cb9c3..ed6c162 100644 (file)
@@ -299,9 +299,6 @@ gst_video_sink_got_video_size (GstVideoSink *videosink, gint width, gint height)
   g_return_if_fail (videosink != NULL);
   g_return_if_fail (GST_IS_VIDEOSINK (videosink));
   
-  videosink->width = width;
-  videosink->height = height;
-  
   g_signal_emit (G_OBJECT (videosink), gst_videosink_signals[HAVE_SIZE],
                  0, width, height);
 }