Bug 126697 - "Show my own video" in testbed does not work
Summary: "Show my own video" in testbed does not work
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 22:47 UTC by bauerfichtner
Modified: 2006-05-11 17:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bauerfichtner 2006-05-03 22:47:28 UTC
Version:           svn (537042) (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs
Compiler:          gcc 4.0.2 
OS:                Linux

Well this is not a severe bug, and it will certainly not keep anyone from using Kopete, but it is a bug. 

"Show my own video" in testbed does not work. Set your testbed account to "Online", then choose "Show my own webcam". The tesbed account is now set to offline. 

Here is the konsole output (Kopete has been compiled with "enable-debug=full"). 

kopete: [void TestbedAccount::slotGoOnline()]
kopete: [virtual void TestbedAccount::connect(const Kopete::OnlineStatus&)]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void TestbedAccount::slotShowVideo()]
kopete: [virtual void TestbedAccount::disconnect()]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
Comment 1 Matt Rogers 2006-05-04 01:45:28 UTC
this is in 0.12 branch, right?
Comment 2 bauerfichtner 2006-05-04 07:46:36 UTC
Yes. It's svn revision 537042. 
Comment 3 bauerfichtner 2006-05-04 13:43:13 UTC
The latest svn revision (537289) shows a differnet behaviour: 
Set the testbed account to "Online", then choose "Show my own webcam". Now the account is not set to "Offline" anymore, a window that should show the webcam image opens. But it does not show the webcam image, it shows something like "No webcam image received." (this is not what it says, I translated it, as I use the German localization). 
It's probably not due to my webcam (also there are strange values in konsole ouptut), as it works fine with MSN and Yahoo!. 

Here is the konsole ouput: 

kopete: [void TestbedAccount::slotGoOnline()]
kopete: [virtual void TestbedAccount::connect(const Kopete::OnlineStatus&)]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete: [void TestbedAccount::slotShowVideo()]
kopete: [int Kopete::AV::VideoDevicePool::open()] open(): Device out of scope (1752379187). Defaulting to the first one.
kopete: [int Kopete::AV::VideoDevice::open()] called
kopete: [int Kopete::AV::VideoDevice::open()] File /dev/video0 was opened successfuly
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice() called.
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): /dev/video0 is not a V4L2 device.
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): /dev/video0 Trying V4L API.
kopete: [int Kopete::AV::VideoDevice::checkDevice()] /dev/video0 is a V4L device.
kopete: [Kopete::AV::VideoInput::VideoInput()] Executing Video Input's constructor!!!
kopete: [Kopete::AV::VideoInput::VideoInput()] Executing Video Input's constructor!!!
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): Supported pixel formats:
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): 16-bit RGB565
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): 24-bit RGB24
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice(): 32-bit RGB32
kopete: [int Kopete::AV::VideoDevice::checkDevice()] checkDevice() exited successfuly.
kopete: [int Kopete::AV::VideoDevice::initDevice()] initDevice() started
kopete: [int Kopete::AV::VideoDevice::initDevice()]     Streaming interface
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] showDeviceCapabilities() called.
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] Card model: Z-star Vimicro zc0301p
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] Card name : Z-star Vimicro zc0301p
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] Capabilities:
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()]     Video capture
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()]         Read
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()]     Max res: 640 x 480
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()]     Min res: 176 x 144
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()]     Inputs : 1
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] Input 0: ZC301-2 (tuner: 0)
kopete: [int Kopete::AV::VideoDevice::showDeviceCapabilities()] showDeviceCapabilities() exited successfuly.
kopete: [int Kopete::AV::VideoDevice::initDevice()] initDevice() exited successfuly
kopete: [int Kopete::AV::VideoDevice::selectInput(int)] Selected input 0 (ZC301-2)
kopete: [float Kopete::AV::VideoDevice::setBrightness(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setContrast(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setSaturation(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setWhiteness(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setHue(float)]  called.
kopete: [int Kopete::AV::VideoDevice::open()] exited successfuly
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] called
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Current device: Model Z-star Vimicro zc0301p Device 0
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Device name: Z-star Vimicro zc0301p
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Device current input: 0
kopete: [bool Kopete::AV::VideoDevice::setWorkaroundBrokenDriver(bool)] VideoDevice::setWorkaroundBrokenDriver(false) called.
kopete: [int Kopete::AV::VideoDevice::selectInput(int)] Selected input 0 (ZC301-2)
kopete: [float Kopete::AV::VideoDevice::setBrightness(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setContrast(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setSaturation(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setWhiteness(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setHue(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setBrightness(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setContrast(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setSaturation(float)]  called.
kopete: [float Kopete::AV::VideoDevice::setHue(float)]  called.
kopete: [bool Kopete::AV::VideoDevice::setAutoBrightnessContrast(bool)] VideoDevice::setAutoBrightnessContrast(false) called.
kopete: [bool Kopete::AV::VideoDevice::setAutoColorCorrection(bool)] VideoDevice::setAutoColorCorrection(false) called.
kopete: [bool Kopete::AV::VideoDevice::setImageAsMirror(bool)] VideoDevice::setImageAsMirror(false) called.
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Brightness:0.5
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Contrast  :0.5
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Saturation:0
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Whiteness :0.5
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] Hue       :0.5
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] AutoBrightnessContrast:false
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] AutoColorCorrection   :false
kopete: [void Kopete::AV::VideoDevicePool::loadConfig()] ImageAsMirror         :false
kopete: [int Kopete::AV::VideoDevicePool::open()] Number of clients: 1
kopete: [int Kopete::AV::VideoDevice::setSize(int, int)] setSize(320, 240) called.
kopete: [int Kopete::AV::VideoDevice::setSize(int, int)] Card doesn't seem to support YUV420P format. Trying RGB24.
kopete: ------------- width: 1112777984 Height: 1104707912 Clipcount: -1074732488 -----------------
kopete: ------------- width: 320 Height: 240 Clipcount: 0 -----------------
kopete: ------------------------- ------- -- m_buffer_size: 230400 !!! -- ------- -----------------------------------------
kopete: [int Kopete::AV::VideoDevice::initRead()] called.
kopete: [int Kopete::AV::VideoDevice::initRead()] m_buffer_size: 230400
kopete: [int Kopete::AV::VideoDevice::initRead()] exited successfuly.
kopete: [int Kopete::AV::VideoDevice::setSize(int, int)] setSize(320, 240) exited successfuly.
kopete: [int Kopete::AV::VideoDevicePool::startCapturing()] startCapturing() called.
kopete: [int Kopete::AV::VideoDevice::startCapturing()] called.
kopete: [int Kopete::AV::VideoDevice::startCapturing()] exited successfuly.
kopete: [virtual TestbedWebcamDialog::~TestbedWebcamDialog()]
kopete: [int Kopete::AV::VideoDevice::stopCapturing()] called.
kopete: [int Kopete::AV::VideoDevice::stopCapturing()] exited successfuly.
kopete: [int Kopete::AV::VideoDevice::close()]  called.
kopete: [int Kopete::AV::VideoDevice::close()]  Device is open. Trying to properly shutdown the device.
kopete: [int Kopete::AV::VideoDevice::stopCapturing()] called.
kopete: [int Kopete::AV::VideoDevice::stopCapturing()] exited successfuly.
kopete: [int Kopete::AV::VideoDevice::close()] ::close() returns 0
Comment 4 Gustavo Pichorim Boiko 2006-05-11 04:07:20 UTC
Could you please try the latest version? I have changed a bit that code, so it might be working now.
Comment 5 bauerfichtner 2006-05-11 12:22:41 UTC
I tried the latest version, it works now. Thanks. 
Comment 6 Gustavo Pichorim Boiko 2006-05-11 17:52:29 UTC
*** Bug has been marked as fixed ***.