~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to sys/dshowvideosink/dshowvideosink.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-19 14:32:43 UTC
  • mfrom: (18.4.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110719143243-p7pnkh45akfp0ihk
Tags: 0.10.22-2ubuntu1
* Rebased on debian unstable, remaining changes:
  - debian/gstreamer-plugins-bad.install
    * don't include dtmf, liveadder, rtpmux, autoconvert and shm, we include 
      them in -good

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
}
107
107
 
108
108
static void
109
 
gst_dshowvideosink_set_window_id (GstXOverlay * overlay, ULONG window_id)
 
109
gst_dshowvideosink_set_window_handle (GstXOverlay * overlay, guintptr window_id)
110
110
{
111
111
  GstDshowVideoSink *sink = GST_DSHOWVIDEOSINK (overlay);
112
112
  HWND previous_window = sink->window_id;
154
154
static void
155
155
gst_dshowvideosink_xoverlay_interface_init (GstXOverlayClass * iface)
156
156
{
157
 
  iface->set_xwindow_id = gst_dshowvideosink_set_window_id;
 
157
  iface->set_window_handle = gst_dshowvideosink_set_window_handle;
158
158
  iface->expose = gst_dshowvideosink_expose;
159
159
}
160
160
 
713
713
  sink->window_id = video_window;
714
714
 
715
715
  /* signal application we created a window */
716
 
  gst_x_overlay_got_xwindow_id (GST_X_OVERLAY (sink),
 
716
  gst_x_overlay_got_window_handle (GST_X_OVERLAY (sink),
717
717
      (gulong)video_window);
718
718
 
719
719
  /* Set the renderer's clipping window */